Python:10 Keeping track at supermarket


#1

Hello friends ,I am stuck at https://www.codecademy.com/courses/python-beginner-en-IZ9Ra/1/3?curriculum_id=4f89dab3d788890003000096


prices = {
    "banana": 4,
    "apple": 2,
    "orange": 1.5,
    "pear":3
    }
    
stock ={
    "banana":6,
    "apple":0,
    "orange":32,
    "pear":15
    }

for i in prices:
    print i
    print "prices: %s" %prices[i]
    print "stock: %s"%stock[i]


I get following message:

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

This is output in window

orange
prices: 1.5
stock: 32
pear
prices: 3
stock: 15
banana
prices: 4
stock: 6
apple
prices: 2
stock: 0
None

Where am I making mistake? please help


#2

a product has a price, not prices


#3

Oops ,silly mistake Thanks for pointing out


#4