A Day at the Supermarket


#1

A Day at the Supermarket


help me~ im stuck...i did get the format right
and get the answer "apple
price: 2
stock: 0"
Here is the error msg:
.

And my code

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


#2

here:

print "prices:

a product has a price: not prices:, also, don't include a 4th print statement


#3

Thank you...just simple English spelling mistake :sweat_smile:


#4