old_contents: # View more python learning tutorial on my Youtube and Youku channel!!!
  
  # Youtube video tutorial: https://www.youtube.com/channel/UCdyjiB5H8Pu7aDTNVXTTpcg
  # Youku video tutorial: http://i.youku.com/pythontutorial
  
  import tkinter as tk
  
  window = tk.Tk()
  window.title('my window')
  window.geometry('200x200')
  
  def hit_me():
      #tk.messagebox.showinfo(title='Hi', message='hahahaha')
      #tk.messagebox.showwarning(title='Hi', message='nononono')
      #tk.messagebox.showerror(title='Hi', message='No!! never')
      #print(tk.messagebox.askquestion(title='Hi', message='hahahaha'))   # return 'yes' , 'no'
      #print(tk.messagebox.askyesno(title='Hi', message='hahahaha'))   # return True, False
      print(tk.messagebox.asktrycancel(title='Hi', message='hahahaha'))   # return True, False
      print(tk.messagebox.askokcancel(title='Hi', message='hahahaha'))   # return True, False
  
  tk.Button(window, text='hit me', command=hit_me).pack()
  window.mainloop()
  
  
  
  
  
  
  
  
  
  
new_contents: # View more python learning tutorial on my Youtube and Youku channel!!!
  
  # Youtube video tutorial: https://www.youtube.com/channel/UCdyjiB5H8Pu7aDTNVXTTpcg
  # Youku video tutorial: http://i.youku.com/pythontutorial
  
  import tkinter as tk
  
  window = tk.Tk()
  window.title('my window')
  window.geometry('200x200')
  
  def hit_me():
      #tk.messagebox.showinfo(title='Hi', message='hahahaha')
      #tk.messagebox.showwarning(title='Hi', message='nononono')
      #tk.messagebox.showerror(title='Hi', message='No!! never')
      #print(tk.messagebox.askquestion(title='Hi', message='hahahaha'))   # return 'yes' , 'no'
      #print(tk.messagebox.askyesno(title='Hi', message='hahahaha'))   # return True, False
      print(tk.messagebox.asktrycancel(title='Hi', message='hahahaha'))   # return True, False
      print(tk.messagebox.askokcancel(title='Hi', message='hahahaha'))   # return True, False
      print(tk.messagebox.askyesnocancel(title="Hi", message="haha"))     # return, True, False, None
  
  tk.Button(window, text='hit me', command=hit_me).pack()
  window.mainloop()
  
  
  
  
  
  
  
  
  
  
subject: add messagebox.askyesnocancel(title="Hi",message="haha")