[solved]supermarket


#1

Hi,

I have encountered the exact same problem and I was wondering whether you will be able to help.

prices= {
"banana":4,
"apple":2,
"orange":1.5,
"pear":3}
stock= {
"banana":6,
"apple":0,
"orange":32,
"pear":15}

for fruits in prices:
print fruits
print "Price: %s" % prices[fruits]
print "Stock: %s" % stock[fruits]


Unable to move ahead to the next level
#2

the validition is case sensitive (price vs Price)


#3

Wow, that did the trick! lol
thanks for your help!


#4