Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- item = []
- price = []
- numItem = input("How many items are in the inventory? ")
- for i in range(numItem):
- nameItem = raw_input("Please enter the item name: ")
- item.append(nameItem)
- priceItem = input("Please enter the price of the item: ")
- price.append(priceItem)
- numItem = numItem - 1
- spendAMT = input("How much would you like to spend? ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement