Advertisement
MrsMcLead

ECS busy

Nov 21st, 2013
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.48 KB | None | 0 0
  1. from tkinter import *
  2. import tkinter.simpledialog
  3. import tkinter.messagebox
  4.  
  5. root = Tk()
  6. w = Label(root, text="Busy")
  7. w.pack()
  8.  
  9. while True:
  10.     tkinter.messagebox.showinfo("click", "To see how to keep an intellectually-challenged person busy, click ok")
  11.  
  12.  
  13. # BEFORE you run the program, answer questions 1-2
  14. # 1. What do you think will be output?  
  15. # 2. How many times do you think it will be output?
  16. #
  17. # Run the program
  18. # 3. How many times will the message be output?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement