Programming Language › Python if else MCQ › Question #3492
Single Choice 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 532 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

Explanation

1

Share This Question

Challenge a friend or share with your study group.