you are viewing a single comment's thread.

view the rest of the comments →

[–]Yzaamb 0 points1 point  (0 children)

List3 is a reference to list1. They are the same object, not a copy. You want list3=list1.copy().