Single Choice Not Set

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

ID: #4033 Python Dictionary MCQ 229 views
Question Info
#4033Q ID
Not SetDifficulty
Python Dictionary MCQTopic

Choose the Best Option

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

  • A Friday
  • B True
  • C Sunday
  • D day
Correct Answer

Explanation

Sunday

Share This Question

Challenge a friend or share with your study group.