бросить кнопку Tknter

# Python program to create a close button
# using destroy Non-Class method

# Button for closing
exit_button = Button(root, text="Exit", command=root.destroy)
exit_button.pack(pady=20)
Maxime Merveille