MCQ Practice Single Best Answer Topic: Python if else MCQ

Q What will be the output after the following statements?
x = 7
if x > 5:
print(20)

Question ID
#3489
Subchapter
Python if else MCQ
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A 20
  • B 5
  • C x
  • D 7
Correct Answer: A

Explanation

20

Share This Question

Share this MCQ with your friends or study group.