I'm working on a simple program in Python 3.5 that contains turtle graphics
and I have a problem: after the turtle work is finished the user has to close the window manually.
Is there any way to program the window to close after the turtle work is done?
Try exitonclick() or done() at the end of the file to close the window .
How to close the Python turtle window after it does its code?