Usually to perform inheritance, you start by defining the Parent class, which should be generic enough to justify inheritance for other child classes.
In your case, about animals and their properties, I would rather define an Animal class as a Parent class, and then your different animals would inherit this Animal class. Here's a minimalist example :
class Animal():
def __init__(self, age, height):
self.age = age
self.height = height
def print_height(self):
print(self.height)
class Cat(Animal):
def __init__(self, age, height, meowness):
super().__init__(age, height)
self.meowness = meowness
my_cat = Cat(age=2, height=35, meowness=0.5)
my_cat.print_height()
Which outputs
35
Then you can tune the Animal class to contain whatever information all your different animals would be characterized by (can include methods as well).
Note that characteristics specific to an animal should not be in the parent class, such as the meowness I added to the Cat class
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…