libdo

Untitled

Oct 16th, 2017
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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