Answer is correct but not being accepted


#1



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]


#2

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


#3

Thanks. That's so annoying haha.


#4

You're welcome :slight_smile:

I know, but nothing i can do about it.


#5