This is key


This is key

File "python", line 9
SyntaxError: can't assign to literal

Your code looks a bit off. Check the Hint if you need help! Your code threw the following error: can't assign to literal (python, line 9)

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."

# Add your code below!
for "Aardvark" in webster:
    print "Aardvark", webster["Aardvark"]


the for loop:

for "Aardvark" in webster:

you loop over the dictionary, the keys gets assigned to "Aardvark", so this should a variable, you could for example do:

for key in webster:

you need to use a variable, since you can't assign strings (the keys are strings) to strings


thanks that has solved my problem.