MCQ
Single Best Answer
Not Set
QWhat will be the output after the following statements?
x = ['Today', 'Sunday', 'Monday']
x[2] = 'Friday'
x[1] = 'Yesterday'
print(x[-2] + ' was a great day')
ID: #3984
Python List MCQ
461 views
Question Info
#3984Q ID
Not SetDifficulty
Python List MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option B
Explanation
Yesterday was a great day
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic