8.Keeping Track Python


My code is giving the expected output, but its giving an error message.

"Check what your code prints for orange. It doesn't look quite right!"

Please help!


It could be as simple as the white space before the colon. Try removing it in both print statements.


Does print "price : %s need to be prices like all the other ones?


No. What you have is correct. Just remove the space.

"price: %s"
"stock: %s"


Thank you, it worked!


Yes, removing the space made it work.
Thank you!


You're very welcome!


A post was split to a new topic: 8. keeping trace of product