Counting Down
Loop backwards.
Counting Down is a free Coding for Kids lesson on CoddyKit — lesson 4 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Coding for Kids learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Counting Down 📉
Time for a countdown! 5, 4, 3, 2, 1... blast off! 🚀 We use a NEGATIVE step.
Negative Step ⬇️
A step of -1 makes range count backwards!
for i in range(5, 0, -1):
print(i)Blast Off! 🚀
Count down then launch!
for i in range(3, 0, -1):
print(i)
print("Blast off!")From Ten 🔟
Count down from 10 to 1.
for i in range(10, 0, -1):
print(i)Why Negative? 🤔
The -1 step means go DOWN by 1 each time. The stop is one below the last number you want.
for i in range(4, 0, -1):
print(i)Down by Twos ➖
Use -2 to skip down by twos!
for i in range(10, 0, -2):
print(i)Countdown Message 📣
Add a fun word each step.
for i in range(3, 0, -1):
print("T minus", i)Rocket Stars 🌟
Make a shrinking star pattern!
for i in range(4, 0, -1):
print("*" * i)Down to Zero 0️⃣
Include 0 by using -1 as the stop.
for i in range(3, -1, -1):
print(i)Reverse a Count 🔄
Counting down is just counting up, flipped!
for i in range(5, 2, -1):
print(i)Countdown Power 💡
A negative step makes range go backwards. Perfect for rocket launches and timers! 🚀
Quick Check ✅
Countdown brain snack! 🍪
Countdown Commander! 🌟
You can count backwards with a negative step like range(5, 0, -1). 3... 2... 1... blast off! 🚀🎉
Frequently asked questions
Is the “Counting Down” lesson free?
Yes — the full text of “Counting Down” is free to read here on the web, and the Coding for Kids course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Coding for Kids course, upgrade to CoddyKit PRO.
What will I learn in “Counting Down”?
Loop backwards. You practise Coding for Kids with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Coding for Kids?
No prior experience is required. Coding for Kids on CoddyKit is structured for beginners through advanced learners; this is — lesson 4 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Counting Down” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Coding for Kids lesson?
Yes. Every Coding for Kids lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- The range Helper
- Counting Up
- Counting by Steps
- Counting Down