Single Choice Not Set

QWhat will be the output after the following statements?
def abc():
    x = 12
    print(x)
x = 10
abc()

ID: #3968 Python Functions MCQ 319 views
Question Info
#3968Q ID
Not SetDifficulty
Python Functions MCQTopic

Choose the Best Option

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

  • A NameError
  • B 12
  • C 10
Correct Answer

Explanation

12

Share This Question

Challenge a friend or share with your study group.