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