title: How does multiple inheritance work with super?
body: <p>Here are the few classes let's say, B, C, D and A, while in class A I am using super method which have class 'B' as an argument.</p>
  <p>Where classes are as defined as below:</p>
  <pre><code>class B:
      def __init__(self):
          print('B')
  
  class C:
      def __init__(self):
          print('C')
  
  class D:
      def __init__(self):
          print('D')
  
  
  class A(B,C,D):
      def __init__(self):
          super(B,self).__init__()
  
  A()
  </code></pre>
  <p>When I am trying to initiate the class A, it should invoke class B as I passed B in super method. But it is giving me output 'C'. If I am passing D in super instead of B it's not giving any output. Why? Instead it just invoke class A and leave.</p>
  <p>Why is this happening?</p>