Whats the problem? 8/13


prices = {
“banana”: 4,
“apple” : 2,
“orange”: 1.5,
“pear”: 3
stock = {
“banana”: 6,
“apple”: 0,
“orange”: 32,
“pear”: 15
for fruit in prices:
print fruit
print “Price:” + str(prices[fruit])
print “Stock:” + str(stock[fruit])

every time I run the code it tells me there is something wrong with orange


Hi @systemjumper25705,

Compare the format specified in the instructions to that of your output. The format of your output must match exactly what is requested by the instructions. Spelling, punctuation, spacing, and case are all significant.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.