Program - we are dealing with multiple inheritance


Topic: Program - we are dealing with multiple inheritance

Solution

class A(object):
    def foo(self):
        print("class A")
class B(object):
    def foo(self):
        print("class B")
class C(A, B):
    pass



List all Python Programs