tombol keluar Python

from tkinter import *

root = Tk()

button = Button (root, text="Exit", command=root.destroy)
button.pack()

root.mainloop()
gamermj223