how to make a exit button in python tkinter code example Example: python tkinter how to close a window root.destroy()