Prices and Stock


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

Checked for lower case, singular vs plural. not sure what's missing.

for key in prices:
    print key
    print'price:%s'.lower() % prices[key]
    print'stock:%s'.lower() % stock[key]


Add a space between price: and %s as well as stock: and %s. You gotta output exactly what the instructions want.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.