List and Dictionaries 12


#1

Here is my code:

zoo_animals = { 'Unicorn' : 'Cotton Candy House',
'Sloth' : 'Rainforest Exhibit',
'Bengal Tiger' : 'Jungle House',
'Atlantic Puffin' : 'Arctic Exhibit',
'Rockhopper Penguin' : 'Arctic Exhibit'}

del zoo_animals['Unicorn']

del zoo_animals['Sloth']
del zoo_animals['Bengal Tiger']
zoo_animals['Rockhopper Penguin'] = 'Ice House'

print zoo_animals

It gives me this: Oops, try again. It seems that Atlantic Puffin was added; ? you have typed "Hopper Penguin Rock" Looks like Rockhopper Penguin was added; you have typed "Hopper Penguin Rock"?

I am stuck, please help!


#4

Been a long day but I finally got to testing your code, and passed with no changes.


#5

Your code worked on my sceen


#6

Yeah it worked for me. :slightly_smiling:


#7

Not to beat a dead horse but your code worked for me as well