Keeping track of produce


Can I please have help with this code, I did everything correctly but it still give me an error. Thanks


the url is the same for everyone, it checks for user and then loads that users code

please copy paste your code to the forum so someone can help you


prices={"banana": 4,
    "apple": 2,
    "orange": 1.5,
    "pear": 3}
stock={"banana": 6,
    "apple" : 0,
    "orange": 32,
    "pear": 15 }

for key in prices:
    print key
    print "prices: %s" % prices[key]
    print "stock: %s" % stock[key]

es este. ami me da error y esta todo bien. I do not speak English


from the instructions:

Print the answer in the following format:

price: 2
stock: 0

your output will give:

prices: 2
stock: 0

you have prices instead of price


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