Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

delete turtle

#To hide the turtle, use this:
turtle.hideturtle() #"turtle" can be replaced with your turtle's name

#To delete one that is saved in a variable, use this:
yourTurtleName = 0 #Give your turtle value any value exept turtle.Turtle(), and the turtle is dead

#To remove everything a turtle has written, use this:
turtle.clear()
 
PREVIOUS NEXT
Tagged: #delete #turtle
ADD COMMENT
Topic
Name
9+1 =