page-banner
Chapter-4 Operator, Expressions & Python Statement
Q26.
निम्नलिखित में से कौन सा पायथन में एक वैध अंकगणितीय ऑपरेटर है?<break-line><break-line>Which of the following is a valid arithmetic operator in Python?
A. //
B. ?
C. <
D. and
View Answer
Q27.
निम्नलिखित स्टेटमेंट्स के बाद आउटपुट क्या होगा?<break-line><break-line>What will be the output after the following statements?<pre><code>m = 2 for n in range(3, 15, 5): n += m + 2 print(n)</code></pre>
A. 14
B. 16
C. 17
D. 19
View Answer
Q28.
निम्नलिखित का आउटपुट क्या है?<break-line><break-line>What is the output of the following?<pre><code>while range(1, 7, -1): if n == 2: continue print(n)</code></pre>
A. 5 4 3 1 0
B. 4 3 1 0
C. 4 3 2
D. None of these
View Answer
Q29.
पायथन भाषा में कोड के ब्लॉक को परिभाषित करने के लिए निम्न में से किसका प्रयोग किया जाता है?<break-line><break-line>Which of the following is used to define a block of code in Python language?
A. try
B. brackets
C. indentation
D. catch
View Answer
Q30.
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following Python code?<pre><code>i = 4 while True: if i%0O7 == 0: break print(i) i += 1</code></pre>
A. 1 2 3 4 5 6
B. 1 2 3 4 5 6 7
C. error
D. 4 5 6
View Answer