page-banner
Chapter-6 (Part-1) Python Function
Q46.
निम्नलिखित पाइथन कोड का आउटपुट क्या होगा |<break-line><break-line>What will be the output of the following Python code?<pre><code>from math import * floor(3.7)</code></pre>
A. 3
B. 4
C. 3.0
D. None of these
View Answer
Q47.
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following Python code?<pre><code>def cube(x): return x * x * x x = cube(3) print(x)</code></pre>
A. 9
B. 3
C. 27
D. 30
View Answer
Q48.
निम्नलिखित कोड द्वारा कितनी संख्याएँ प्रिंट की जाएंगी?<break-line><break-line>How many numbers will be printed by the following code?<pre><code>def fun(a,b): for x in range(a,b+1): if x%3==0: print(x, end=" ") fun(100,120)</code></pre>
A. 7
B. 8
C. 6
D. 9
View Answer
Q49.
निम्नलिखित कोड क्या प्रिंट करता है?<break-line><break-line>What does the following code print?<pre><code>x = 'mohan' for i in range(len(x)): x[i].upper() print(x)</code></pre>
A. mohan
B. MOHAN
C. Error
D. None of these
View Answer
Q50.
नीचे दिए गए प्रोग्राम का आउटपुट क्या है?<break-line><break-line>What is the output of below program?<pre><code>def maximum(x, y): if x > y: return x elif x == y: return 'The numbers are equal' else: return y print(maximum(2, 3))</code></pre>
A. 2
B. 3
C. The numbers are equal
D. None of the options
View Answer