Lesson 3 of 6
Repeat with your box
The box can decide how many times a loop runs! Here, the loop runs as many times as the number in the rounds box.
The robot hits the drum 🥁 once per turn. Change the rounds box to choose how many times.
🎯 Your mission
Put 5 in the rounds box. The drum 🥁 must beat 5 times.
PRO lesson
This advanced chapter is part of CodeAge PRO. Unlock it to keep your adventure going.
Discover PRO →