Trying to keep track of my produce


#1



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


Error message: "Oops, try again. You should have exactly three print statements! (Make sure there are no occurrences of 'print' in any comment or string!) "


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]
    print

my output:

orange
price: 1.5
stock: 32

pear
price: 3
stock: 15

banana
price: 4
stock: 6

apple
price: 2
stock: 0

None


#2

Problem was i added a print statement after printing the price and stock


#3