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.read, then continue.
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.
this step needs the editor
on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.