Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #A simple program for remember which foods are good
  2. #By Matthew Hebert 10/20/12
  3.  
  4. a = 0
  5. b = ['','','','','','','']
  6.  
  7. while a < 7:
  8. b[a] = raw_input("Name a good food: ")
  9. a = a + 1
  10.  
  11. a = 0
  12.  
  13. print ""
  14. print "Here is a list of good foods:"
  15.  
  16. while a < 7:
  17. print b[a]
  18. a = a + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement