import turtle t = turtle.Turtle() t.speed(5) # updating a bunch of t.forwards sucks. # let's declare a variable square_size = 100 # go to the upper-left and draw a square t.penup() t.setpos(-200,200) t.pendown() t.forward(square_size) t.right(90) t.forward(square_size) t.right(90) t.forward(square_size) t.right(90) t.forward(square_size) t.right(90) # go to the upper right and draw a sqaure t.penup() t.setpos(100,200) t.pendown() t.forward(square_size) t.right(90) t.forward(square_size) t.right(90) t.forward(square_size) t.right(90) t.forward(square_size) t.right(90) # go to the bottom left and draw a square t.penup() t.setpos(-200,-100) t.pendown() t.forward(square_size) t.right(90) t.forward(square_size) t.right(90) t.forward(square_size) t.right(90) t.forward(square_size) t.right(90) # go to the bottom right and draw a square t.penup() t.setpos(100,-100) t.pendown() t.forward(square_size) t.right(90) t.forward(square_size) t.right(90) t.forward(square_size) t.right(90) t.forward(square_size) t.right(90)