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.
Claude generated this and it crashes with a NameError. There's exactly one bug.
Fix it so the code prints total: 42.