Keeping Track of the Produce


Oops, try again. Check what your code prints for orange. It doesn't look quite right!

That has to be right. It didnt work bot after that i solved what the problem was. Becouse of that : print "Price: %s" % prices[x] ==> Instead I had to text it ==> print "price: %s" % prices[x]. CAn you beleive in that? :slight_smile: It made me crazy....

prices = {"banana":4,
stock = {"banana":6,
for x in prices:
    print x
    print "Price: %s" % prices[x]
    print "stock: %s" % stock[x]


sounds like you solved your problem?


Sure!.. Just I wanted to help if someone does same mistake.


price and Price are different string. And in this exercise, command you to print "price: " not "Price: ".


thank you))) Спасибо