human
I am working on the file "Section 1 - Core Python/Chapter 09 - Classes & OOPS/02_03_Multiple_Inheritance.ipynb".
The first task is:
C3 Linearization Algorithm
C3 super-class linearization follow the following rules:

Children precede their parents
If a class inherits from multiple classes, they are kept in the order specified in the tuple of the base class.
Consistent extended precedence graph, which in short means how base class is extended from the super class. Inheritance graph determines the structure of method resolution order.
Preserving local precedence ordering, i.e., visiting the super class only after the method of the local classes are visited.
Monotonicity
Can you write Python program for it?
assistant
#Here is the Python program you requested.

class Type(type):
    def __repr__(cls):
        return cls.__name__

class O(object, metaclass=Type): pass

class A(O): pass

class B(O): pass

class C(O): pass

class D(O): pass

class E(O): pass

class K1(A, B, C): pass

class K2(D, B, E): pass

class K3(D, A): pass

class Z(K1, K2, K3): pass

Z.mro()