9/19 Make sure to give your Animal class a health member variable


#1



https://www.codecademy.com/courses/python-intermediate-en-WL8e4/1/4?curriculum_id=4f89dab3d788890003000096#

Oops, try again. Make sure to give your Animal class a health member variable.


Replace this line with your code. 
class Animal(object):
    """Makes cute animals."""
    is_alive = True
    heath="good"
    def __init__(self, name, age):
        self.name = name
        self.age = age
    # Add your method here!
    def description(self):
        print self.name
        print self.age
        
hippo= Animal("a",18)
sloth=Animal("b",15)
ocelot=Animal("c",19)

hippo.heath="bad"

print sloth.heath
print hippo.heath
print ocelot.heath


#2

Compare what you've written (heath) with what's wanted (health)


#3

thank you so much! I have spend a morning on it.thank you once again.