Keeping Track of the Produce


#1

I am not sure why it keeps repeating. It's going through a loop but it's printing a repeat. I only need it once:

orange
price: 1.5
stock: 32

Please help. Thanks!


#2

Your loop iterator, the key variable is being overwritten in the next line. Take that line out.


#3

Ok, like this? It still gives me an error that says "ops, try again. Check what your code prints for orange. It doesn't look quite right!"


#4

The SCT (Submission Corrrectness Test) is not expecting the extra space character after the %s placeholder.


#5

Perfect! Thank you! It works.


#11