MCQ Single Best Answer Not Set

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

ID: #4027 Python Dictionary MCQ 320 views
Question Info
#4027Q ID
Not SetDifficulty
Python Dictionary MCQTopic

Choose the Best Option

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

  • A Sunday 10
  • B day week
  • C ['day', 'week']
  • D (day, week)
Correct Answer: Option C

Explanation

['day', 'week']

Share This Question

Challenge a friend or share with your study group.