from time import sleep from turtle import * from random import * t = Turtle() for _ in range(1,100): t.forward(random.rand)