πŸ” Loops for Kids

A loop does something many times β€” without you copy-pasting.

Repeating Actions

Imagine your teacher says "write 'I will not chew gum' on the board 50 times." That's a loop! Same action, repeated 50 times.

Two Main Loops

  • For loop: do this exactly N times. "Bounce the ball 5 times."
  • While loop: keep doing this until something stops you. "Eat candy until the bag is empty."

Where You See Loops

Every game with a moving character uses loops. Every list of items on a website uses loops. Loops are everywhere.

🎯
Try this!

Now you try! Use a loop in English: "For each cookie in the jar, ___ ".

πŸ‘¨β€πŸ‘©β€πŸ‘§
For grown-ups

Parent/teacher tip: Physical activities (jumping jacks, clapping) are great for embodying loops.