Oops, try again. You should have exactly three print statements! (Make sure there are no occurrences of 'print' in any comment or string!)


for key in prices:
    print (key)
    print ("price: %s" % prices[key])
    print ("stock: %s" % stock[key])

what is wrong with this code


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


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

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


Hi @ajeesap87,

Formatting code: discuss.codecademy.com/t/using-backticks-to-format-your-code/3697/2
I have sent your post to correct category, and for this exercise (8), the code is working. Are you using it on a different exercise?