1import turtle
2
3turtle.forward(50)
4turtle.left(90)
5turtle.forward(50)
6turtle.left(90)
7turtle.forward(50)
8turtle.left(90)
9turtle.forward(50)
10turtle.left(90)
11
1import turtle
2for i in range(4):
3 turtle.begin_fill()
4 turtle.forward(40)
5 turtle.right(90)
6turtle.end_fill