Single Choice
Not Set
QWhat will be the output after the following statements?
x = 40
if x > 10:
print(20)
elif x == 40:
print(10)
else:
print(30)
ID: #3491
Python if else MCQ
606 views
Question Info
#3491Q ID
Not SetDifficulty
Python if else MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
20
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic