#12 Changing Your Mind


#1

Help it doesnt work, this is what i have

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 Penguin'] = 'JODAS FUNLAND'

print Zoo_animals

Replace this line with your code.


#2

HERE IS THE CORRECT CODES.

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'] = 'another thing'

print zoo_animals


#3

Thank you so much!!!


#4

per the problem: Zoo is not capitalized..

s/b zoo lower case