I don't understand how this is wrong


#1



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


It tells me what my code prints for oranges isn't quite right, yet the values that are printed in the console are the exact values listed for "orange" under prices and stock


Considering everything appears to be printing out correctly I was expecting to move on to the next lesson haha.


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]


#2

no, the output should be an exact match, attention to detail. It should be price instead of prices, and both price and stock should be spelled with lowercase first letter

the exercise said it wanted an exact match to the desired output, i know it is maybe a bit mean, but i can't change that


#3

Just follow the instructions and do as they say, cuz they know EVERYTHING! in your print statements, change "Prices:"
to "price:"

and "Stock: "
to "stock:"


#4

Ahhhh, thank you very much for the clarification!!


#5