Question: import copy w = [ { name : A , score: 8 8 } , { name :

import copy
w =[
{"name":"A", "score":88},
{"name":"B", "score":111},
{"name":"C", "score":100}
]
x = w
y = copy.copy(x)
z = copy.deepcopy(w)
Select all true statements about x, y, and z.
Group of answer choices
x and w are two names for the same underlying list, so changes through x will be reflected in w and vice versa.
variable z doesn't directly / indirectly reference any of the original object instances.
y creates a new list object, however the new list object still references the original nested dictionary object instances.
changing a nested dictionary within w wouldn't affect the variable y
x is considered a deep copy of w

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!