Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shopping=["bread", "cheese", "apple", "tomato", "biscuits" ]
- for item in shopping:
- print (item)
- #so I've not told it how many times to run, it just runs the complete list
- #each item is printed and then the program stops
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement