Program - This is how pass works in case of multiple inheritance


Topic: Program - This is how pass works in case of multiple inheritance

Solution

class A1(object):
   def foo(self):
      print("class A1")
class B1(A1):
   pass
class C1(A1):
   def foo(self):
      print("class C1")
class D1(B1,C1):
   pass



List all Python Programs