My code gives the following error:
"Oops, try again. Did you create an Animal() called sloth?"
However, the printed results look exactly as I expected them to:
Am I missing something?
class Animal(object): """Makes cute animals.""" is_alive = True health = "good" def __init__(self, name, age): self.name = name self.age = age # Add your method here! def description(aminal): print aminal.name print aminal.age hippo = Animal("Hun", 32) sloth = Animal("Bob", 1) ocelot = Animal("Babou", 15) description(hippo) print hippo.health print sloth.health print ocelot.health