from turtle import forward, penup, pendown, left, exitonclick for i in range(20): forward(i) penup() forward(5) pendown() exitonclick()