MCQ Practice Single Best Answer Topic: Python if else MCQ

Q What will be the output after the following statements?
x = 15
if x > 10 and x <= 15:
    print('true')
elif x > 15 and x < 25:
    print('not true')
elif x > 25 and x < 35:
    print('false')
else:
    print('not false')

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

Choose Your Answer

Click an option to check whether your answer is correct.

  • A true
  • B false
  • C not true
  • D not false
Correct Answer: A

Explanation

true

Share This Question

Share this MCQ with your friends or study group.