Even though I seem to understand the syntax of Multi-Level and Multiple Inheritance in Python , I don’t seem to completely understand how they differ in terms of functionality.
For instance the image below is an example of Multi-Level Inheritance. The Chicken class inherits from the Bird class which in turn inherits from the Animal class. Therefore the Chicken class has access to all the attributes and methods of both the Bird and Animal classes.
For Multiple Inheritance this would be:
class Chicken(Animal, Bird):
pass
Here too as I understand, the Chicken class has access to all the attributes and methods of both the Bird and Animal classes which is similar to Multi-Level Inheritance.
So what makes the two types of inheritance different in terms of functionality?
Any help is appreciated!