import turtle while True: turtle.forward(120) turtle.right(100) if abs (turtle.pos())<1: break turtle.done()