← Back to Exercises
🛑

Break, Continue & Nested Loops • Exercise 54 of 112

Countdown Stopper

Easy⭐ 20 XP🏆 Your XP: 0

🎯 Your Mission

Write a loop that prints the numbers from 10 down to 1, but stops with break when it reaches 6 (so 6 is not printed).

🐍 main.pyTab = 4 spaces • Ctrl+Enter = Run
▶ Output
Press ▶ Run to see what your code does!