page-banner
Chapter-4 Operator, Expressions & Python Statement
Q26.
निम्नलिखित में से कौन सा पायथन में एक वैध अंकगणितीय ऑपरेटर है?

Which of the following is a valid arithmetic operator in Python?
A. //
B. ?
C. <
D. and
View Answer
Q27.
निम्नलिखित स्टेटमेंट्स के बाद आउटपुट क्या होगा?

What will be the output after the following statements?
m = 2
for n in range(3, 15, 5):
    n += m + 2
print(n)
A. 14
B. 16
C. 17
D. 19
View Answer
Q28.
निम्नलिखित का आउटपुट क्या है?

What is the output of the following?
while range(1, 7, -1):
    if n == 2:
        continue
    print(n)
A. 5 4 3 1 0
B. 4 3 1 0
C. 4 3 2
D. None of these
View Answer
Q29.
पायथन भाषा में कोड के ब्लॉक को परिभाषित करने के लिए निम्न में से किसका प्रयोग किया जाता है?

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.
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?

What will be the output of the following Python code?
i = 4
while True:
    if i%0O7 == 0:
        break
    print(i)
    i += 1
A. 1 2 3 4 5 6
B. 1 2 3 4 5 6 7
C. error
D. 4 5 6
View Answer

Create Account