Help,what's wrong witt my code


#1

https://www.codecademy.com/en/courses/python-beginner-en-IZ9Ra/1/3?curriculum_id=4f89dab3d788890003000096

Oops, try again. Check what your code prints for orange. It doesn’t look quite right!

I don’t know what it means and how i should get the right code???

```python

prices = {
“banana”:4,
“apple”:2,
“orange”:1.5,
“pear”:3}
stock = {
“banana”:6,
“apple”:0.,
“orange”:32,
“pear”:15}
for x in prices:
print x
print “prices %s” % prices[x]
print “stock %s” % stock[x]


#2

Check your spelling with prices and stock. This should be your output:

apple
price: 2
stock: 0

#3

Thank you so much!!fianally i find the answer


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.