mutation — why your code mysteriously breaks2 / 9
shallow copy, deep copy, and the nested-dict bug
Cursor wrote four lines, each meant to "copy" a list called users. Three
of them produce an independent copy. One only creates a second name for the
same list. Which one is the not-copy?
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _