This is KEY!


This is KEY!

File "python", line 7
for key in webster:
SyntaxError: invalid syntax

webster = {
	"Aardvark" : "A star of a popular children's cartoon show.",
    "Baa" : "The sound a goat makes.",
    "Carpet": "Goes on the floor.",
    "Dab": "A small amount."

for key in webster:
    print webster[key]


You must add } at the end of dictionary.


You forgot to add the last curly bracket in order to close the dictionary. Please add it after the last item.


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