Can't get past this exercise, output looks correct


#1



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.

https://www.codecademy.com/courses/python-beginner-en-IZ9Ra/1/3?curriculum_id=4f89dab3d788890003000096

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-
orange
price: 1.5
stock: 32
pear
price: 3
stock: 15
banana
price: 4
stock: 6
apple
price: 2
stock: 0
None


This is my code-

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

stock = {
    "banana":6,
    "apple":0,
    "pear":15,
    "orange":32,
    }
    
for key in prices:
    print key;
    print "price: %s " % prices[key];
    print "stock: %s " % stock[key];


#2

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:

apple
price: 2
stock: 0

#3

Thanks! That was it,
silly


#4

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