Skip to main content

Practice ยท 2 of 4

Bug Hunt 2: The Off-By-One

A report should print the first five multiples of 3 (3, 6, 9, 12, 15). It prints the wrong range โ€” diagnose and fix. Keep the loop a range loop.

Difficulty: beginner

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