← Lessons PP 4-6 🐛 Caterpillar Crawl Lesson 65
🐛 🦋 🍃
🦋 Universe
Butterfly Garden
Welcome to the Butterfly Garden! A tiny caterpillar wants to grow big and become a butterfly! But typing the same step over and over is BORING! Good coders use a LOOP — a magic block that says REPEAT! Write it ONCE, choose how many times, and watch the computer do it AGAIN and AGAIN! Today YOU are the Garden Coder! 🐛

🔄 What is a Loop?

A LOOP tells the computer to do something AGAIN and AGAIN! Want to grow 5 caterpillar segments? Instead of writing "grow" five separate times, you write it ONCE inside a loop and say REPEAT 5 TIMES! The computer counts: 1... 2... 3... 4... 5... done! Loops save you from typing the same thing over and over. They are one of the MOST important powers in all of coding! 🔄

🔗 You already learned SEQUENCE (order matters), DECOMPOSITION (break big into small), MEMORY BOXES (store values), BOOLEAN LOGIC (TRUE/FALSE), and PATTERNS (things that repeat). Now learn LOOPS — the superpower of REPEATING steps without writing them over and over! 🔄
CHALLENGE 1 of 3
Grow the caterpillar! Set REPEAT to 3 and tap Run Loop!
☀️ ☁️ ☁️ 🦋 🌼 🌸 🌷
🔄 LOOP — / —
🐛 STATUS 🌱 READY
🦋
Set REPEAT to 3 and tap Run Loop! 🔄
⚙️ Loop Block — build your REPEAT!
🔄 REPEAT
1
TIMES
{
}
👆 Set REPEAT to 3, then tap Run Loop to grow the caterpillar!

🐛 What You BUILT: Loop-Powered Caterpillar

🦋 Next time: A NEW coding adventure awaits at Code Explorer! Come back tomorrow — your loop skills are getting powerful! ✨
🐛

Caterpillar Crawl!

Welcome to the Butterfly Garden! A tiny caterpillar needs YOUR help to grow big and transform! Use a LOOP — a block that says REPEAT — to grow segments and eat leaves without typing the same thing over and over! Ready to loop? 🔄

🌱Grow the caterpillar with a REPEAT 3 loop!
🍃Feed it 5 leaves with a REPEAT 5 loop!
🎨Design YOUR OWN caterpillar with loops!