how do you reset the turtle's position without drawing a line from where it
last was?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Grace Sanford wrote:
> how do you reset the turtle's position without drawing a line from where
> it last was?
Call turtle.penup() when you want to prevent it from drawing and pendown()
to have it draw again. Example:
import turtle
for i in range(10):
# draw a 20 units line
turtle.forw