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