input: 
  def create_song_class():
      """Creates a class named Song with two instance variables, title and artist,
      and three methods: __str__(), __eq__(), and length(). The __str__() method
      returns a string formatted as "Title: {self.title}\nArtist: {self.artist}".
      The __eq__() method returns True if both the title and artist of self and
      other match. The length() method returns the length of the title.
      Example:
      >>> song1 = Song('Bohemian Rhapsody', 'Queen')
      >>> song2 = Song('Bohemian Rhapsody', 'Queen')
      >>> str(song1)
      'Title: Bohemian Rhapsody\nArtist: Queen'
      >>> song1 == song2
      True
      >>> song1.length()
      17
      """
  
      class Song:
          def __init__(self, title, artist):
              self.title = title
              self.artist = artist
      
          def __str__(self):
              return f'Title: {self.title}\nArtist: {self.artist}'
          
          def __eq__(self, other):
              return self.artist == other.artist and self.title == other.title
  
          def length(self):
              return len(self.title)
      
      return Song
  
output:     class Song:
          def __init__(self, title, artist):
              self.title = title
              self.artist = artist
      
          def __str__(self):
              return f'Title: {self.title}\nArtist: {self.artist}'
          
          def __eq__(self, other):
              return self.artist == other.artist and self.title == other.title
  
          def length(self):
              return len(self.title)
      
      return Song