def how_many_legs(name):
if name == "horse" or name =="dog":
return "this animal have 4 legs"
if name == "chicken" or name =="human":
return "this animal have 2 legs"
if name == "spider":
return "this animal have 8 legs"
if name == "centipede":
return "this animal have 30 or 34 legs"
else:
return "error,0"