def tscheme_exitonclick():
"""Wait for a click on the turtle window, and then close it."""
global _turtle_screen_on
if _turtle_screen_on:
print("Close or click on turtle window to complete exit")
turtle.exitonclick()
_turtle_screen_on = False
return okay
评论列表
文章目录