Same Problem As Everyone Else with "Keeping Track of the Produce"


#1



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


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


Everything prints out correctly. Seems to be a bug with Code Academy...


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 "Price: %s" % prices[key]
    print "Stock: %s" % stock[key]


8. Keeping Track of the Produce
#2

here:

print "Price:

price should have lowercase p, same for stock


#3

Thank you! I had tried previously with making the Prices lowercase, and I was still getting the error message. However, I needed to make Stock lower case as well. Appreciate the help.


#4