9/18 Ils se multiplient!


#1

Hi everyone !
I realy don't understand the problem, someone could help me please ?
this is the error message :

the problem is here

Thanks in advance to help me :grinning:


#2

Hi,
I've tried it as well, but it seems to be an error on the French page only. I modified your code into English format and it worked on the English page.

You can try to pass that level with my English code if you want, because you actually have it correct

class Animal(object):
    """Makes cute animals."""
    est_vivant = True
    health = "good"
    def __init__(self, name, age):
        self.name = name
        self.age = age

hippo = Animal("Steve", 14)
print hippo.health

sloth = Animal("Gustav", 66)
print sloth.health

ocelot = Animal("Tim", 3)
print ocelot.health

#3

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(self):
print self.name
print self.age
hippo = Animal("Hippy", 10)
sloth = Animal("slow", 55)
ocelot = Animal("Lance", 25)
hippo.description()
print hippo.health
print sloth.health
print ocelot.health


#4

Thanks for yours replies but I still not be able to continue the lesson because when I verify my answer there is the same message, someone know how the french finish this lesson ? :sweat_smile:
I'm blocked and it's not cool to see how the translation is bad and not verified by the developers... (It's not the first problem I had in this lesson but it's the first which nobody had :triumph: )
The error look like the error which had the french in this discussion :
here...


#5

I'm having the same trouble, it's really frustrating !
I read in another thread a way of going around those kind of issues, but it's important to also notify the administrators, and I don't know how to do that (and I also don't dare apply it if nobody expressly told me to, since I'm a bit of a noob... :p).


#6

For resolve the problem, you need to add this code before the "class Animal(object):"

def aattr(a, b):
return True

:wink:


#7

Thank you ! :smile:
I realy though that I gonna be still blocked ...