title: Hybrid Inheritance
body: <p>Stuck trying to figure out what is causing the error:
  TypeError: <strong>init</strong>() takes 4 positional arguments but 5 were given
  Any help is appreciated.</p>
  <pre><code># Parent class
  class Dog:
      def __init__(self, name, age):
          self.name = name
          self.age = age
  # Child class
  class Labrador(Dog):
      def __init__(self, name, age, playfulness):
          super().__init__(name, age)
          self.playfulness = playfulness
  # Child class
  class Poodle(Dog):
      def __init__(self, name, age, potty_trained):
          super().__init__(name, age)
          self.potty_trained = potty_trained
  # Grandchild class
  class Labradoodle(Labrador,Poodle):
      def __init__(self, name, age, playfulness, potty_trained):
          super().__init__(name, age, playfulness, potty_trained)
  
  dogo2 = Labradoodle(&quot;Dookie&quot;, 2, 'Very playful', 'Yes')
  
  print(dogo2.playfulness, dogo2.potty_trained)
  </code></pre>