# the goto function import turtle, random wn = turtle.Screen() pragya = turtle.Turtle() pragya.speed(100) for i in range(100): xpos = random.randint(-450, 450) ypos = random.randint(-350, 350) pragya.penup() pragya.goto(xpos, ypos) pragya.stamp() wn.exitonclick()