Please figure out where i am wrong?




Instruction 2:
Like the example above, for each key, print out the key along with its price and stock information. Print the answer in the following format:

price: 2
stock: 0

now check your it same?


Hi @guchuuu

In the stock list the value of "pear":15 is followed by a comma. End of a list need not contain "comma".

instead of this "pear":15,
please change "pear":15

without comma at end of "pear" value declaration in stock list


Not sure if this is the issue, but might it be that your price is printing [Item]: [Value] while stock prints [Item] : [Value] with a space between the item and the colon?


yes issue with printing


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.