mutation — why your code mysteriously breaks5 / 8
mutation and the action-at-a-distance bug
Cursor wrote a function that's supposed to return a new list with one extra item, leaving the original alone. The line that copies the list is missing the right method. Fill in the method name (no parens).
Method:
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _