Skip to main content

Practice ยท 1 of 4

Bug Hunt 1: The Missing Variable

CHALLENGE
Difficulty: beginner+25 XP

This receipt program crashes with NameError. Reproduce it mentally, find the line, and fix it with the SMALLEST change that restores the intended output (three lines).

Back to lesson: Practice: Bug Hunt โ€” Repair Broken Programs