निम्नलिखित कथनों के बाद आउटपुट क्या होगा?
What will be the output after the following statements?
x = 2
if x < 5:
print(x)
else:
pass A
2 3 4
B
1 2 3 4
C
2
D
None of these
Explanation
Sure!
Since x = 2 and x < 5 is True, it prints x, which is 2.
Answer: (C) 2.
Correct Answer: C) 2