This is KEY!


#1



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]


#2

You must add } at the end of dictionary.


#3

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


#4

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