import turtle t = turtle.Turtle() t.speed(5) # size of square, you can control square_size = 100 # we keep copy-pasting the square codes # maybe we should make a function to do it. def make_square(size): t.setheading(90) t.forward(size) t.right(90) t.forward(size) t.right(90) t.forward(size) t.right(90) t.forward(size) t.right(90) # go to the upper-left and draw a square t.penup() t.setpos(-200,100) t.pendown() make_square(square_size) # go to the upper right and draw a sqaure t.penup() t.setpos(100,100) t.pendown() make_square(square_size) # go to the bottom left and draw a square t.penup() t.setpos(-200,-200) t.pendown() make_square(square_size) # go to the bottom right and draw a square t.penup() t.setpos(100,-200) t.pendown() make_square(square_size)