Single Choice
Not Set
QWhat will be the output after the following statements?
import copy
x = [5, 4, 3, 2, 1]
y = [7, 8, 9]
z = [x, y]
a = copy.deepcopy(z)
x[2] = 6
print(a)
ID: #4021
Python Module MCQ
679 views
Question Info
#4021Q ID
Not SetDifficulty
Python Module MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
[[5, 4, 3, 2, 1], [7, 8, 9]]
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic