MCQ Single Best Answer Not Set

QWhat will be the output after the following statements?
x = 15
if x > 15:
    print(0)
elif x == 15:
    print(1)
else:
    print(2)

ID: #3492 Python if else MCQ 480 views
Question Info
#3492Q ID
Not SetDifficulty
Python if else MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • B 1
  • C 2
  • D 15
Correct Answer: Option B

Explanation

1

Share This Question

Challenge a friend or share with your study group.