Single Choice Not Set

QWhat will be the output after the following statements if input entered is 45*2 ?
x = input("Enter an expression: ")
print(eval(x))

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

Choose the Best Option

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

  • A 45*2
  • B eval("90")
  • C 90
Correct Answer

Explanation

90

Share This Question

Challenge a friend or share with your study group.