Programming Language Python if else MCQ Question #3755
Single Choice Not Set

QWhat will be the output after the following statements?
a = True
b = False
c = 'a' if (b == 0) else 'b'
print(c)

ID: #3755 Python if else MCQ 327 views
Question Info
#3755Q ID
Not SetDifficulty
Python if else MCQTopic

Choose the Best Option

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

  • A True
  • B False
  • C a
  • D b
Correct Answer

Explanation

a

Share This Question

Challenge a friend or share with your study group.