View difference between Paste ID: tFpZ1KkW and Eiu4b7fH
SHOW: | | - or go back to the newest paste.
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