First time in his bag apple second time orange third time grapes is how many orange in his bag
Answers
Answered by
0
Here's my answer. It works well. Hope it helps if you're stuck.
prices = {"banana": 4, "apple": 2, "orange": 1.5, "pear": 3}
stock = {"banana": 6, "apple": 0, "orange": 32, "pear": 15}
for item in prices:
print item + ":"
print "price: " + str(prices[item])
print "stock: " + str(stock[item])
Similar questions