← The arcade

Bug Hunt · difficulty 1 of 3

Bug: the missing last number 🐛

This should print the numbers 1 to 10 inclusive on one line, but it stops early. Fix the bug.

Write it in the browser and press run. Real Python, checked against the expected output, no account needed.

Skills: functions, exceptions

Open the arcade