Coding: loops

Sign up free to unlock this topic

Kindergarten is free, and guests can try one sample topic in every other grade. A free parent or teacher account opens every topic from Kindergarten to Grade 12 and saves progress. No credit card.

Try the free sample: Numbers to 1,000 · Have a class or homeroom code? Join here

Key idea: Coding: loops

A loop repeats a set of instructions a number of times. "Repeat 4 times: move 3" moves 12 in all.

Key words

Loop
Instructions that repeat.
Start value
Where the program begins.

🔎 What to look for: Find what happens in one time through the loop, then multiply by the number of repeats and add it to the start.

Zero2Hero — Zéro2Héros