Single Choice Not Set

QWhat will be the output after the following statements?
x = -3
if abs(x) < 3:
    print(x)
else:
    print(0)

ID: #3921 Python Built-in Functions MCQ 163 views
Question Info
#3921Q ID
Not SetDifficulty
Python Built-in Functions MCQTopic

Choose the Best Option

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

  • A No output
  • B Error
  • D -3
Correct Answer

Explanation

Share This Question

Challenge a friend or share with your study group.