10 for in range 10 for in range turtle forward turtle left 90 10 10 20

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
n = 10
x,y =0,0
for i in range(10):
for j in range(4):
turtle.forward(n)
turtle.left(90)
x -= 10
y -= 10
n += 20
turtle.penup()
turtle.goto(x,y)
turtle.pendown()