SHARE
TWEET

Untitled

a guest Feb 20th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top