MCQ Single Best Answer Not Set

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

ID: #3967 Python Functions MCQ 231 views
Question Info
#3967Q ID
Not SetDifficulty
Python Functions MCQTopic

Choose the Best Option

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

  • A NameError
  • B x
  • C 10
Correct Answer: Option C

Explanation

10

Share This Question

Challenge a friend or share with your study group.