Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. item = []
  2. price = []
  3. numItem = input("How many items are in the inventory? ")
  4.  
  5. for i in range(numItem):
  6. nameItem = raw_input("Please enter the item name: ")
  7. item.append(nameItem)
  8. priceItem = input("Please enter the price of the item: ")
  9. price.append(priceItem)
  10. numItem = numItem - 1
  11. spendAMT = input("How much would you like to spend? ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement