Single Choice Not Set

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

ID: #4037 Python Dictionary MCQ 212 views
Question Info
#4037Q ID
Not SetDifficulty
Python Dictionary MCQTopic

Choose the Best Option

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

  • A year
  • B 2016
  • C Sunday
  • D 10
Correct Answer

Explanation

2016

Share This Question

Challenge a friend or share with your study group.