Programming Language Python List MCQ Question #3981
Single Choice Not Set

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

ID: #3981 Python List MCQ 260 views
Question Info
#3981Q 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 TypeError
  • D IndexError
Correct Answer

Explanation

Today was a great day

Share This Question

Challenge a friend or share with your study group.