Activity 17.4.1.
Run the code to see what it draws.
for-each loop to repeat steps with turtles.
for loop. The lines that you want to repeat in the for loop must be indented by 4 spaces as shown below.
[1,2,3,4] are not important. Itโs the fact that there are four items in the list that is important. Only one of these choices does not make a square. Which one? (Itโs not cheating to actually try each of them and run the program each time!)

range function.
range(n) function returns an object (a range object) that produces the value from 0 to n - 1 when you use it in a for-each loop as shown below.