Python Closing The Gui Window Does Not End The Program

Python Closing The Gui Window Does Not End The Program