You can use a messagebox to promto for a Yes or No response if you are going to design this to run in a GUI.
Example:
Example:
import tkinter as tk from tkinter import Label from tkinter import Button from tkinter import messagebox root = tk.Tk() root.geometry('300x300') label=Label(root, text= 'Your gamre application is running') label.pack() def popup(): your_popup = messagebox.askyesno('Your Game Name','Do you want to continue?') if your_popup == True: return else: root.destroy() button=Button(root, text='Press', command=popup) button.pack() root.mainloop()
"Often stumped... But never defeated."