Can't get past this exercise, output looks correct


Pretty sure this exercise is broken, have tried it many ways, the out put looks correct but my code is not accepted. Please let me know how I get past this exercise. I've tried skipping it but when I log back in I come back to the same place.

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

This is the output, looks right to me-
price: 1.5
stock: 32
price: 3
stock: 15
price: 4
stock: 6
price: 2
stock: 0

This is my code-

prices = {
    "banana" : 4,
    "apple": 2,
    "orange": 1.5,
    "pear": 3,

stock = {
for key in prices:
    print key;
    print "price: %s " % prices[key];
    print "stock: %s " % stock[key];


your code is correct , but try to remove space after %s in print price and also stock ;
why ?? this answer
for each key, print out the key along with its price and stock information. Print the answer in the following format:

price: 2
stock: 0


Thanks! That was it,


correct code, but wrong syntax in the dictionary, remove the last comma