Please figure out where i am wrong?


#1

file:///home/areeb/Desktop/Screen%20shot/Screenshot%20from%202017-02-16%2011-06-27.png


#2

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:

apple
price: 2
stock: 0

now check your format.is it same?


#3

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


#4

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?


#5

yes issue with printing


#6

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