📜  pyhton turtle 删除 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:33.765000             🧑  作者: Mango

代码示例1
#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()