import turtle t = turtle.Pen() t.forward(500) t.left(90) t.forward(100) t.left(90) t.forward(100) t.right(90) t.forward(100) t.left(90) t.forward(300) t.left(90) t.forward(100) t.right(90) t.forward(100) t.left(90) t.forward(100) t.up() t.forward(50) t.down() t.circle(50) t.setheading(0) t.up() t.forward(450) t.right(90) t.forward(50) t.setheading(0) t.down() t.circle(50)