Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 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. itemName=raw_input("Please enter the item name: ")
  7. item.append(itemName)
  8. itemPrice=input("Please enter the price of the item: ")
  9. price.append(itemPrice)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement