Practice ยท 1 of 4
Bug Hunt 1: The Missing Variable
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).
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Bug Hunt โ Repair Broken Programs