promptdojo_

Shallow copy, deep copy, and the nested-dict bug — step 2 of 9

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?

read, then continue.