Single Choice Not Set

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

ID: #4030 Python Dictionary MCQ 282 views
Question Info
#4030Q 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':'Sunday', 'week':10}
  • C 'day':'Sunday', 'week':10
  • D day Sunday week 10
Correct Answer

Explanation

day Sunday week 10

Share This Question

Challenge a friend or share with your study group.