MCQ Single Best Answer Not Set

QWhat will be the output after the following statements?
x = ['Today', 'Sunday', 'Monday']
print(x[-1] + ' was a great day')

ID: #3982 Python List MCQ 266 views
Question Info
#3982Q ID
Not SetDifficulty
Python List MCQTopic

Choose the Best Option

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

  • A Today was a great day
  • B Sunday was a great day
  • C Monday was a great day
  • D IndexError
Correct Answer: Option C

Explanation

Monday was a great day

Share This Question

Challenge a friend or share with your study group.