Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shopping=["bread","cheese","apple","tomato","biscuits"]
- count = 0
- for item in shopping:
- print(item)
- count+=1
- print("You have",count,"items in the list")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement