Guest User

Untitled

a guest
Oct 16th, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. shopping_list = ['cheese','ham','bread','apples','milk','chocolate']
  2.  
  3. for item in shopping_list:
  4. if item == 'milk':
  5. print 'WE HAVE MILK!'
  6. break
Add Comment
Please, Sign In to add comment