Dec-09-2020, 10:46 PM
from tkinter import * import tkinter.messagebox root = Tk() tkinter.messagebox.showinfo("This is the window title!","This is some important info!") answer = tkinter.messagebox.askquestion("What a dumb box!","Do you want this dumb little window to go away?") if answer =='yes': print("Hell Yes!") if answer =='no': print("I am not ready to go!") root.mainloop()When you look at this code, do you prefer it with two 'if' statements or an 'if' and an 'else' statement?