I cannt proceed from this point


#1

stock={"banana":6,"apple":0,"orange":32,"pear":15}
prices={"banana":44,"apple":55,"orange":22,"pear":99}
for key in prices:
print key
print "price is : %s" % prices[key]
print "stock is : %s" % stock[key]

what is wrong with this code?????
they are saying "Oops, try again. You should have exactly three print statements! (Make sure there are no occurrences of 'print' in any comment or string!)"


#2
str(prices[key])

will give the string data type expected in the expression. Likewise,

str(stock[key])

Both of those are numbers. To print them a numbers,

print ("price: %i" % prices[key])