MCQ Single Best Answer Not Set

QWhat will be the output after the following statements?
x = 46
y = 98
z = y if (y % 2 == 0) else x
print(z)

ID: #3421 Python Operator MCQ 354 views
Question Info
#3421Q ID
Not SetDifficulty
Python Operator MCQTopic

Choose the Best Option

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

  • A True
  • B False
  • C 46
  • D 98
Correct Answer: Option D

Explanation

98

Share This Question

Challenge a friend or share with your study group.