Can someone help


#1

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

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


#2

Look back at the instructions. Pay close attention to: "Print the answer in the following format:"


#3

Hi think that you should have two print statement like that..
The first one for the prices

print "prices: %s" % prices[key]

The second one for stock

print "stock: %s" % stock[key]

#4

Also, check what you're looping through. Should you look at each of the prices, or each of the stock?