End Python turtle drawing so user goes back to main menu
问题 I'm making a code so that when a user clicks on the window, it will draw the shape based on their input of choice. I'm having trouble on where I should assign the window and turtle correctly and how to assign to a function a way to quit the window its currently on. Is there any way for me to end a mainloop() so that the user goes back to the main menu after clicking and making as many of their chosen shapes (given that each time they do choose an option, the window resets to a blank state)?