Output is right still showing error


Keeping Track of the Produce

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

It should have shown no error as output is as desired!

prices ={"banana":4,
for item in prices:
    print item
    print "price:%s"%prices[item]
    print "stock:%s"%stock[item]


the output needs to be an exact match, you don't have a space between your colon and the product, example:



price: apple

you need the space after the colon


thanks ,now it worked