First page Back Continue Last page Overview Graphics

The “real” deepcopy

>>> lst2[0] = "c"

>>> lst2[2][1] = "d"

>>> lst1

['a', 'b', ['ab', 'ba']]

“a”

“b”

“ab”

“ba”

lst1

lst2

“c”

“d”