number [list of commands]
Do [list of commands] number times.
[list of commands]
number
Examples: repeat 4 [fd 4 lt 90] makes turtles move forward 4 steps and then turn left 90 degrees 4 times.
repeat 4 [fd 4 lt 90]
Related commands: loop every