<reponame>nsudhanva/mca-code<filename>Sem3/Python/oops/inherit_4.py
class A:
    pass

class B:
    pass

class C:
    pass

class D(A, B):
    pass

class E(A, C):
    pass

class F(E, D):
    pass


print(E.mro())
print(D.mro())

print(E.__mro__)
print(D.__mro__)

print(F.mro())

class A:
    pass

class B:
    pass

class C:
    pass

class D(A, B):
    pass

class E(A, C):
    pass

class F(E, D):
    pass


print(E.mro())
print(D.mro())

print(E.__mro__)
print(D.__mro__)

print(F.mro())