8.Keeping Track Python


#1

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!


#2

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


#3

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


#4

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

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

#5

Thank you, it worked!


#6

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


#7

You're very welcome!


#8

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


#9