6. Your Own Store!


#1

prices{"banana":4, "apple":2, "orange": 1.5, "pear":3}:
prices = {"banana":4, "apple":2, "orange": 1.5, "pear":3}:

i followed the instructions and im still getting a syntaxError saying "unexpected Eof while parsing"
the two lines that you see above are the two ways that i tried to used to pass this section but im getting an error on. Can someone please help me fix this or understand what it is that im doing wrong so i can know what not the do in the upcoming lessons.


#2

Hi,

The first expression doesn't have an equal sign and both of them have unnecessary colons (:slight_smile: at the end of each expression. Use your second dictionary expression and remove the colon. That should do it!

Melissa


#3

i tried that and it continue to say error "did you create a dictionary called prices"?


#4

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