Single Choice Not Set

Q What will be the output after the following statements?
def abc(x):
 return 20 / x
print(abc(4))

ID: #3972 Python Functions MCQ 287 views
Question Info
#3972Q ID
Not SetDifficulty
Python Functions MCQTopic

Choose the Best Option

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

  • A NameError
  • B 5
  • C 5.0
  • D ZeroDivisionError
Correct Answer

Explanation

5.0

Share This Question

Challenge a friend or share with your study group.