title: Python inheritance default values from the parents class
body: <p>I have two classes:</p>
  <pre><code>class Media:
  def __init__(self, title=&quot;No Title&quot;, author=&quot;No Author&quot;, release_year=&quot;No Release Year&quot;, url=&quot;No URL&quot;):
      self.title = title
      self.author = author
      self.release_year = release_year
      self.url = url
  
  class Song(Media):
  def __init__(self, title, author, release_year, url, album=&quot;No Album&quot;, genre=&quot;No Genre&quot;, track_length=0):
      super().__init__(title, author, release_year, url)
      self.album = album
      self.genre = genre
      self.track_length = track_length
  </code></pre>
  <p>Then I try to create an object</p>
  <pre><code>mySong = Song()
  </code></pre>
  <p>And I got an error saying that <code>TypeError: __init__() missing 4 required positional arguments: 'title', 'author', 'release_year', and 'url'</code></p>
  <p>Is there a way to inherit the default values from the parents class? Like we can pass the &quot;No Title&quot; from the Media class to the Song class</p>
  <p>And if I only provide part of the information, can we combine it together, for example if I create a new object</p>
  <pre><code>newSong = Song(author=&quot;justin bieber&quot;)
  </code></pre>
  <p>and try</p>
  <pre><code>print(newSong.author)
  print(newSong.url)
  </code></pre>
  <p>I wish it will show Justin bieber and No URL.</p>
  <p>Thanks a lot.</p>