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

QWhat will be the output after the following statements?
x = [4, 5, 7, 8, 9]
y = x
y[1] = 6
print(x)

ID: #4016 Python List MCQ 427 views
Question Info
#4016Q ID
Not SetDifficulty
Python List MCQTopic

Choose the Best Option

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

  • A [4, 5, 7, 8, 9]
  • B [4, 5, 6, 7, 8, 9]
  • C [4, 6, 7, 8, 9]
  • D [4, 7, 8, 9]
Correct Answer

Explanation

[4, 6, 7, 8, 9]

Share This Question

Challenge a friend or share with your study group.