A tiny problem


#1

i need help!!! i'm in the project 'A day at the supermarket' on 'keeping track of the produce'

https://www.codecademy.com/courses/python-beginner-en-IZ9Ra/1/3

and it shows me that error, can somebody help me please?


#2

Please post your code so we can examine and test it. Thank you.


#3

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

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

for key in prices:
print key
print 'prices: %s' % prices[key]
print 'stock: %s' % stock[key]


#4

This lesson is a stickler for exactness. price.


#5

OMG, THANK YOU SO MUCH!!, it was a very silly error...


#6

You're welcome. Things like this happen a lot so be easy on yourself and add it to your check list for future... 'provided text'


#7

A post was split to a new topic: This is not working


#8