Turtle Graphics

First I needed to make a turtle square with no loop, I achieved this with the following code

Afterwards I made a turtle square with a loop using the range function in the following code