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 = count + 1
- count1= str(count)
- print("You have " + count1 + " items in your shopping list.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement