O meu codigo não funciona


#1

Continuing the discussion from Keeping track of the produce: I'm not sure why my code works:

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

<What do you expect to happen instead?>

```python prices = {'banana': 4, 'maca': 2, 'laranja': 1.5, 'pera': 3} stock = {'banana': 6, 'maca': 0, 'laranja': 32, 'pera': 15} for n in prices: print n print "Prices: %s " % prices[n] print "Stock: %s" % stock[n] ``` eu fiz como mostraram mas não aceitam a meu codigo.

#2

Follow the format shown in the example (lesson text), exactly.

Siga o formato mostrado no exemplo (texto lição), exatamente.

    print "price: %s " % prices[n]
    print "stock: %s" % stock[n]

#3

Eu fiz isso e ainda da errado.
prices = {‘banana’: 4, ‘maca’: 2, ‘laranja’: 1.5, ‘pera’: 3}
stock = {‘banana’: 6, ‘maca’: 0, ‘laranja’: 32, ‘pera’: 15}
for n in prices:
print n
print “prices: %s” % prices[n]
print “stock: %s” % stock[n]


#4
"price: %s"

with no ‘s’