SCT error


#1
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[7] = ['New_group']

print zoo_animals

While this code works in the terminal CodeAcademy is giving me an SCT error. Can anyone help or explain?


#2

look at your zoo-animals:

{'Atlantic Puffin': 'Arctic Exhibit', 'Rockhopper Penguin': 'Arctic Exhibit', 7: ['New_group']}

new_group is a list, why? I think the exercise expects our new animal to be of type string. If errors persist, post an updated version of your code and exercise url