Can't re-designate new value to key in dictionary


Oops, try again. It looks like Rockhopper Penquin was added; did you misspell "Rockhopper Penguin"?

I should be changing the value of Rockhopper Penquin : Arctic Exhibit -----> Rockhopper Penquin : Bird Exhibit

# 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']
del zoo_animals["Sloth"]
del zoo_animals["Bengal Tiger"]

zoo_animals["Rockhopper Penquin"] = "Bird Exhibit"


Check your spelling.


oh my... thank you @mtf!!!