variables — what ai reaches for first6 / 9
the four types you'll see daily
Claude wrote a snippet that should print score: 0 when the score is
zero. Instead it prints no score yet. The bug is on line 2 — it's
checking the wrong thing. Fix it so a score of 0 is recognized as a
real score.
Expected output:
score: 0
The break is on line 2 — but read the whole snippet first.
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _