variables — what ai reaches for first6 / 8
naming things you'll point ai at
Claude generated this and it crashes with a NameError. There's exactly one bug.
Fix it so the code prints total: 42.
The break is on line 2 — but read the whole snippet first.
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _