Turtle, Observer, Patch

repeat number [list of commands]

Parameters:
number Number number of times to iterate
[list of commands] List of commands list of commands to run on each iteration

Description:
Do [list of commands] number times.

Examples:
repeat 4 [fd 4 lt 90] makes turtles move forward 4 steps and then turn left 90 degrees 4 times.

Related Commands:
loop