Advertisement
MrsMcLead

ECS morelists

Nov 22nd, 2013
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 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="Lists Continued")
  7. w.pack()
  8.  
  9. numbers = [4, 6, 1, 5, 6]
  10.  
  11. #Each of these require the use of the appropriate for loop for the job
  12. #1. Output the List one item at a time in order
  13.  
  14. #2. Output every other item in the List
  15.  
  16. #3. Calculate the mean of the numbers in the List.  This should be a decimal.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement