Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- how_many = input("How many items do you want to buy?\n")
- shopping = []
- for item in range(int(how_many)):
- item = input("What is the item you want?\n")
- shopping.append(item)
- print()
- for item in shopping:
- print(item)
- print("You have " + str(len(shopping)) + " items in your shopping list.\n")
Advertisement
Add Comment
Please, Sign In to add comment