Single Choice Not Set

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

ID: #4034 Python Dictionary MCQ 406 views
Question Info
#4034Q 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

Friday

Share This Question

Challenge a friend or share with your study group.