Single Choice
Not Set
QWhat will be the output after the following statements?
x = {'year': 2016, 'month': 'March'}
x.setdefault('day', 'Tuesday')
print(x)
ID: #4039
Python Dictionary MCQ
319 views
Question Info
#4039Q ID
Not SetDifficulty
Python Dictionary MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
{'day': 'Tuesday', 'month': 'March', 'year': 2016}
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic