Saving Goals
Track a target.
Saving Goals is a free Coding for Kids lesson on CoddyKit. This is lesson 2 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, and your progress syncs across the web and the CoddyKit app. The Coding for Kids course includes 4 lessons in total.
Set a Goal! 🎯
Want to buy something special? 🎮 Set a saving goal and watch your money grow toward it!
Pick Your Goal 🛍️
Maybe a toy costs 30. Save that as your goal.
goal = 30
print('My goal is', goal)How Much So Far? 💵
Track what you have saved in a saved box.
saved = 12
print('Saved so far:', saved)Goal and Saved 📊
Show both numbers together to see your progress!
goal = 30
saved = 12
print('Saved', saved, 'of', goal)Did I Reach It? 🤔
Use if to check if you reached your goal!
goal = 30
saved = 12
if saved >= goal:
print('You did it! 🎉')
else:
print('Keep saving! 💪')Reached the Goal 🎉
Try it with enough money saved!
goal = 30
saved = 35
if saved >= goal:
print('Goal reached! 🥳')
else:
print('Almost there! 🙂')Add Some Money ➕
Got more pocket money? Add it to your savings!
saved = 12
saved += 8
print('Now saved:', saved)Check Again 🔁
After adding money, check the goal once more!
goal = 30
saved = 12
saved += 20
if saved >= goal:
print('Reached! 🎯')A Cheerful Message 😄
Make the computer cheer you on!
saved = 25
goal = 30
if saved < goal:
print('So close! Keep going! 🌟')Show It With $ 💲
Make your goal look like real money.
goal = 30
print('Goal: $' + str(goal))Two Goals 🎯🎯
You can track more than one goal at a time!
toy = 30
game = 50
print('Toy goal:', toy)
print('Game goal:', game)Quick Check ✅
Which word checks if something is true?
Goal Setter! 🏆
Awesome! You learned to:
- Set a
goal🎯 - Track what you
saved💵 - Check it with
if🤔 - Cheer yourself on 😄
Next: figure out how much more you need! 🧮
Learn Python with an AI tutor — free
Write and run real code in your browser, get instant help from a 24/7 AI tutor, and pick up where you left off on the web or in the app.
- Courses
- 35
- Lessons
- 140
Frequently Asked Questions
Is the “Saving Goals” lesson free?
Yes — the full text of “Saving Goals” is free to read here on the web. 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. The Coding for Kids course includes 4 lessons in total.
What will I learn in “Saving Goals”?
Track a target. 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, so you can start here or from the beginning and move at your own pace. This is lesson 2 of 4.
How long does the “Saving Goals” 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