Coding for Kids · Lesson

Loops: Doing It Again

Loops let us repeat steps without writing them many times.

Lesson 1 of 413 steps

Loops: Doing It Again is a free Coding for Kids lesson on CoddyKit. This is lesson 1 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.

Your First Superpower! 🦸

Hi, super-coder! 🌟

Today you unlock your first coder superpower: the LOOP! 🔁

A loop lets you say something once, and the computer does it again and again. Magic! ✨

Doing the Same Thing 🎵

Think about brushing your teeth. 🪥

You scrub... and scrub... and scrub! 😁

You don't say "scrub" only once. You repeat it many times!

Repeating a step over and over is what a loop does. 🔁

The Lazy Way (the Smart Way!) 😎

Imagine you want to clap 5 times. 👏

You COULD write: clap, clap, clap, clap, clap.

That's a lot of writing! 😮‍💨

A loop says it the smart way: "Clap 5 times!" 🎉

Loops Are Everywhere 🌍

Look around — loops are hiding everywhere! 👀

  • 🎡 A merry-go-round spins round and round
  • 🦶 Your feet step, step, step when you walk
  • 🎶 A song's chorus repeats again and again

Repeating = looping!

The Robot Dance 🤖

Let's make a robot dance! 💃

The dance is: jump, spin, clap.

Now we tell the robot: "Do the dance 3 times!"

The robot jumps-spins-claps, jumps-spins-claps, jumps-spins-claps! One loop, lots of fun! 🤩

Why Loops Help 💡

Loops make coders happy because: 😊

  • ✅ Less writing
  • ✅ Fewer mistakes
  • ✅ Easy to change the number

Want to clap 100 times? Just change 5 to 100! 🙌 No extra writing.

Counting Loops 🔢

Some loops count for you! 1... 2... 3... 🧮

Like a rocket launch: 3, 2, 1, blast off! 🚀

The loop counts each time it goes around. When it reaches the end, it stops. 🛑

When Does a Loop Stop? 🛑

A good loop always knows when to STOP. 🚦

If you jump on a trampoline 10 times, you stop at 10! 🤸

We tell the loop a number — "do it 10 times" — so it doesn't go forever! ♾️ (That would be silly!)

Loop Treasure Hunt 🗺️

Imagine a treasure map with 4 chests. 🧰💰

Your plan: "Open a chest, grab the gold."

You repeat that for EACH chest. That's a loop! 🔁

One small plan does a big job. 🏆

You Made a Loop! 🎉

Let's say it together, super-coder:

"Do this 5 times." 🖐️

That's a real coder idea! You just thought like a programmer. 🧠💚

Coders LOVE loops — and now you do too! 🔁

Loop or No Loop? 🤔

Quick game! Which one is a loop?

  • 🍎 Eating ONE apple — just once
  • 🪜 Climbing stairs — step, step, step, step!

Climbing stairs repeats... so it's a loop! 🎯 You're getting it!

Quick Check

Let's see your loop power! 💪 What does a loop help us do?

Superpower Unlocked! 🏅

Wow, you did it! 🌟

You unlocked the LOOP superpower! 🔁

Remember: a loop means "do it again and again." 🎵

Next up, an even cooler power: making choices! 🤔 See you there, super-coder! 💚

Free to start

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 “Loops: Doing It Again” lesson free?

Yes — the full text of “Loops: Doing It Again” 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 “Loops: Doing It Again”?

Loops let us repeat steps without writing them many times. 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 1 of 4.

How long does the “Loops: Doing It Again” 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

  1. Loops: Doing It Again
  2. Making Choices
  3. Bugs and Debugging
  4. You're Ready to Code!
← Back to Coding for Kids