Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. shopping = ["bread", "tomato","apple", "biscuite", "cheese"]
  2. count = 0
  3. for items in shopping:
  4. print(items)
  5. count = count + 1
  6.  
  7. print(" You have " + str(count) + " items ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement