Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # problem 1 v.2
- gimme_food = input ("Hi, I'm hungy. What are you going to feed me?")
- junkfoodlist = ['hotdog', 'pizza', 'cheeseburger']
- while gimme_food in junkfoodlist:
- print ('Mmm, that is really good')
- break
- else:
- print ("Mmm, I cant eat that")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement