#12 Changing Your Mind



Shows the error invalid syntax(python,line 15)

# key - animal_name : value - location 
zoo_animals = { 'Unicorn' : 'Cotton Candy House',
'Sloth' : 'Rainforest Exhibit',
'Bengal Tiger' : 'Jungle House',
'Atlantic Puffin' : 'Arctic Exhibit',
'Rockhopper Penguin' : 'Arctic Exhibit'}
# A dictionary (or list) declaration may break across multiple lines

# Removing the 'Unicorn' entry. (Unicorns are incredibly expensive.)
del zoo_animals['Unicorn']

# Your code here!
del zoo_animals['Sloth']
del zoo_animals['Bengal Tiger']
zoo_animals['Rockhopper Penguin]= 'ice era'
print zoo_animals



You are forgetting to enclose 'Rockhopper Penguin in a pair of single- or double-quotes


oh lol thanks was stucked in it for that silly mistakes for 30 minutes. :3


yeah it happens sometimes!! Silly mistakes