Single Choice Not Set

QWhat will be the output after the following statements?
x = {'day':'Sunday', 'week':10}
print(x.get('weak', 5))

ID: #4035 Python Dictionary MCQ 273 views
Question Info
#4035Q ID
Not SetDifficulty
Python Dictionary MCQTopic

Choose the Best Option

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

  • A 10
  • B 5
  • C Sunday
  • D day
Correct Answer

Explanation

5

Share This Question

Challenge a friend or share with your study group.