How it works
Sometimes Bo does the same step again and again.
Instead of saying the step every time, we say it once and say how many times.
Doing the same step again and again is called a loop. A loop makes a program short.
Worked examples
Hop up the stairs
- Bo has five stairs to climb to his tree house.