Advertisement
lubattillah

improved shopping list program

May 15th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. shopping=["bread","cheese","apple","tomato","biscuits"]
  2. count = 0
  3. for item in shopping:
  4. print(item)
  5. count+=1
  6. print("You have",count,"items in the list")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement