Programming Language Python Module MCQ Question #4018
Single Choice Not Set

QWhat will be the output after the following statements?
import copy
x = [5, 4, 3, 2, 1]
y = copy.copy(x)
x.append(6)
print(y[-1])

ID: #4018 Python Module MCQ 426 views
Question Info
#4018Q ID
Not SetDifficulty
Python Module MCQTopic

Choose the Best Option

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

  • A 5
  • B 6
  • C [5, 4, 3, 2, 1, 6]
  • D 1
Correct Answer

Explanation

1

Share This Question

Challenge a friend or share with your study group.