Types of copies

Report a typo

There's a list lst that is copied several times. For each line of code, choose which type of copy is created.

Choose one option for each row
shallow copydeep copynot a copy
new = lst
new = lst.copy()
new = copy.copy(lst)
___

Create a free account to access the full topic