12/14 Changing your mind: Keys?


#1

Hello.
I cannot figure out the code for 12/14.
I had zoo_animals[Rockhopper Penguin] = 'Artic Exhibit' on line 15, but It gave me this error:
File "python", line 15
zoo_animals[Rockhopper Penguin] = 'Artic Exhibit'
^
SyntaxError: invalid syntax

The carrot was on the k in rockhopper btw.

Any help? Thanks.


#2

I have found out what my issue was.
I did not make the rockhopper penguin a string

all I did was change the code to zoo_animals['Rockhopper Penguin'] = 'Artic Exhibit'

:smiley: