import turtle pen=turtle.Turtle mm=0 i=0 pen.pendown() while: pen.forward(mm) i+=1 mm+=i pen.right(91)