निम्नलिखित पाइथन कोड का आउटपुट क्या होगा<break-line><break-line>What will be the output of the following Python code?<pre><code>def C2F(c):
return c*9/5+32
print(C2F(100))
print(C2F(0))</code></pre>
निम्नलिखित स्टेटमेंट में सबसे लास्ट में कौन स्टेटमेंट एक्सीक्यूट होगा<break-line><break-line>Which of the following statement will execute in last?<pre><code>def s(n1): #Statement 1
print(n1) #Statement 2
n2=4 #Statement 3
s(n2) #Statement 4</code></pre>
निम्नलिखित का आउटपुट क्या होगा<break-line><break-line>What is the output of the following?<pre><code>x = 'abcd'
for i in range(len(x)):
i.upper()
print(x)</code></pre>
निचे लिखे प्रोग्राम का आउटपुट क्या होगा ?<break-line><break-line>What is the output of the below program?<pre><code>def func(a, b=5, c=10):
print('a is', a, 'and b is', b, 'and c is', c)
func(3, 7)
func(25, c=24)
func(c=50, a=100)</code></pre>
A.a is 7 and b is 3 and c is 10<break-line>a is 25 and b is 5 and c is 24<break-line>a is 5 and b is 100 and c is 50
B.a is 3 and b is 7 and c is 10<break-line>a is 5 and b is 25 and c is 24<break-line>a is 50 and b is 100 and c is 5
C.a is 3 and b is 7 and c is 10<break-line>a is 25 and b is 5 and c is 24<break-line>a is 100 and b is 5 and c is 50
Correct Answer: a is 3 and b is 7 and c is 10<break-line>a is 25 and b is 5 and c is 24<break-line>a is 100 and b is 5 and c is 50
Q25.
निम्नलिखित पायथन कोड का आउटपुट क्या होगा<break-line><break-line>What will be the output of the following Python code?<pre><code>x = 50
def func(x):
print('x is', x)
x = 2
print('Changed local x to', x)
func(x)
print('x is now', x)</code></pre>
A.x is 50<break-line>Changed local x to 2<break-line>x is now 50
B.x is 50<break-line>Changed local x to 2<break-line>x is now 2
C.x is 50<break-line>Changed local x to 2<break-line>x is now 100