python mathematician py radius perimeter at room temperature perimeter after heating: radius perimeter at room temperature perimeter after heating: radius perimeter at room temperature perimeter after heating: inheritance overview lets review the inheritance in python quickly then we will see some good usage of inheritance in this noteno prior knowledge of the 'super()and 'multiple inheritanceis required in this we will see various examples to understand these topics first create parent class "animalas belowclass animal(object)def __init__(selfname)self name name def sound(self)print("loud or soft sound"def wild(self)print("wild or pet animail" animal("tiger" sound(loud or soft sound nowcreate child class "petanimalwhich inherit the class "animal"class petanimal(animal)def pet_size(self)print("small or big" petanimal("cat" pet_size(small or big sound(inherit from animal loud or soft sound nextoveride the method of class "animalin the child class "dog"class dog(animal)def sound(self)print("dog barks" dog("tommy" sound(override the 'soundof class animal dog barks inheritance overview