10. shopping at the market python pleeaase help


#1

groceries:

"banana"
"orange"
"apple"

i got this error please help i know it is simple but please help
File "python", line 1
groceries:
^
SyntaxError: invalid syntax


Replace this line with your code.


#2

You need to do something like this...

groceries = {
.....
}


#3

thanks! you really helped i have got it working now


#4

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