MCQ Single Best Answer Not Set

QWhat will be the output after the following statements?
x = {'day':'Sunday', 'week':10}
for i in x.values():
    print(i, end=' ')

ID: #4023 Python Errors and Exceptions Handling 361 views
Question Info
#4023Q ID
Not SetDifficulty
Python Errors and Exceptions HandlingTopic

Choose the Best Option

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

  • A Sunday 10
  • B KeyError
  • C Sunday
  • D 10
Correct Answer: Option A

Explanation

Sunday 10

Share This Question

Challenge a friend or share with your study group.