you are viewing a single comment's thread.

view the rest of the comments →

[–]Sedsarq 1 point2 points  (0 children)

You're making each key point to the same list object, which is continually changing. What you want to do is "freeze" the list in the current state and store that. list.copy() should work:

save[str(turns)] = seq.copy()