An alternative is to clone a list:
a = [1, 2, 3] b = a[:] print id(a) print id(b)
which prints:
135445132 135367596
represented by the state diagram (at the end of the program), i.e. changing b affects a:
b
a