A Savings Tracker
Build the counter.
A Savings Tracker 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.
Build the Tracker! 🛠️
Let's put it all together and build a real Savings Tracker! 💰
It will store your goal, your savings, and tell you how you're doing.
Start the Boxes 📦
First, set up the goal and saved boxes.
goal = 50
saved = 0
print('Goal:', goal)
print('Saved:', saved)Add This Week 💵
Add your money for the week to the savings.
saved = 0
saved += 15
print('Saved now:', saved)Show the Total 📊
Print a nice summary of where you stand!
goal = 50
saved = 15
print('You have', saved, 'of', goal)How Much Left? ➖
Show how much more is needed.
goal = 50
saved = 15
print('Need', goal - saved, 'more')Add Up the Weeks 📅
Use a loop to add money for several weeks at once!
saved = 0
for week in range(4):
saved += 10
print('After 4 weeks:', saved)Check Each Week 🔁
Show the total growing week by week!
saved = 0
for week in range(4):
saved += 10
print('Week', week + 1, 'total:', saved)Did You Make It? ✅
After saving, check if you reached the goal!
goal = 50
saved = 40
if saved >= goal:
print('Goal reached! 🎉')
else:
print('Need', goal - saved, 'more 💪')Progress Bar Idea 📈
Show your progress with stars! One star for every 10 saved.
saved = 30
stars = saved // 10
print('Progress:', '⭐' * stars)The Full Tracker 🧮
Here's the whole tracker in one program! Run it and watch the magic. ✨
goal = 50
saved = 0
for week in range(5):
saved += 10
print('Saved:', saved, 'of', goal)
if saved >= goal:
print('You did it! 🥳')
else:
print('Need', goal - saved, 'more')Make It Yours 🎨
Change the goal and how much you add each week. It's YOUR tracker!
goal = 100
saved = 0
for week in range(5):
saved += 25
print('Total:', saved)
if saved >= goal:
print('Reached! 🎉')Quick Check ✅
What did the loop do in our tracker?
Tracker Builder! 🏆
Amazing! You built a real savings tracker that:
- Stores a goal and savings 📦
- Adds money over weeks with a loop 🔁
- Tells you how much is left ➖
- Shows a star progress bar ⭐
You finished Pocket Money Counter! 🎉
Frequently asked questions
Is the “A Savings Tracker” lesson free?
Yes — the full text of “A Savings Tracker” 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 “A Savings Tracker”?
Build the counter. 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 “A Savings Tracker” 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
- Adding Up Money
- Saving Goals
- How Much More?
- A Savings Tracker