Single Choice Not Set

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

ID: #4026 Python Dictionary MCQ 276 views
Question Info
#4026Q ID
Not SetDifficulty
Python Dictionary MCQTopic

Choose the Best Option

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

  • A ('day', 'Sunday') ('week', 10)
  • B day week
  • C ('week', 10)
  • D ('day', 'Sunday')
Correct Answer

Explanation

('day', 'Sunday') ('week', 10)

Share This Question

Challenge a friend or share with your study group.