Coding: loops inside 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, college and university, and saves progress. No credit card.
Try the free sample: Numbers to 10,000 · Have a class or homeroom code? Join here
Key idea: Coding: loops inside loops
A loop repeats the steps inside it. A loop inside another loop runs all of its steps every time the outer loop goes around once.
Key words
- Loop
- “Repeat 3 times” runs the steps under it 3 times.
- Nested loop
- A loop inside a loop.
🔎 What to look for: Multiply: the outer repeats × the inner repeats × what happens each time.
