- #1
ChloeYip
- 93
- 1
I want to write a program when I click the turtle, the turtle would disappear.
However, the program does not gave error message but when I click the turtle, there is no effect on it.
What's wrong with it?
How can I fix it?
Thanks
Mod note: Added code tags.
My written programme:
However, the program does not gave error message but when I click the turtle, there is no effect on it.
What's wrong with it?
How can I fix it?
Thanks
Mod note: Added code tags.
My written programme:
Python:
import turtle
import pygame
def hide():
turtle.hideturtle()
turtle.onclick(hide)
Last edited by a moderator: