promptdojo_

The four types you'll see daily — step 6 of 9

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.

full-screen editor opens — close anytime to keep reading.