निम्नलिखित पायथन कोड का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following Python code ?<break-line><break-line><pre><code>x = 50
def func(x):
print('x is', x)
x = 2
print('Changed local x to', x)
func(x)</code></pre>
A.print('x is now', x)x is 50 Changed local x to 2x is now 50
निम्नलिखित छद्म कोड का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following pseudo-code ?<break-line><break-line><pre><code>Integer a
Set a = 5
do
print a - 2
a = a - 1
while (a != 0)
end while</code></pre>
रवि ने open( ) फ़ंक्शन का उपयोग करके python में एक फ़ाइल खोली लेकिन मोड निर्दिष्ट करना भूल गया। फाइल किस मोड में खुलेगी?<break-line><break-line>Ravi opened a file in python using open() function but forgot to specify the mode. In which mode the file will open?