Keeping Track of the Produce


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:

price: 1.5
stock: 32

Please help. Thanks!


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


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!"


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


Perfect! Thank you! It works.