Answer is correct but not being accepted


Hi guys, struggling to see where I'm going wrong here. Everything lines up as expected but the answer is not being accepted. Any ideas?

Code below:

prices = { 
    "banana": 4,
    "apple": 2,
    "orange": 1.5,
    "pear": 3

stock = {
    "banana": 6,
    "apple": 0,
    "orange": 32,
    "pear": 15

for produce in prices:
    print "%s" % produce  
    print "price: %s" % prices[produce] 
    print "stock: %s\n" % stock[produce]


this output needs to be an exact match, don't include a new line character (\n)


Thanks. That's so annoying haha.


You're welcome :slight_smile:

I know, but nothing i can do about it.