import turtle
pen = turtle.Turtle()
for i in range(10):
    pen.forward(100 - i*10)
    pen.left(90)