input: 
  def create_song_class() -> 'Song':
      """ Creates a class 'Song' with two instance variables, title and artist, and three methods, str(), eq(), and length().
      The __str__ method should return a formatted string with the title and artist.
      The __eq__ method should compare two Song objects based on their title and artist.
      The length method should return the length of the title attribute.
      Example:
      song1 = create_song_class("Bohemian Rhapsody", "Queen")
      song2 = create_song_class("Bohemian Rhapsody", "Queen")
      print(song1) == 'Title: Bohemian Rhapsody\nArtist: Queen'
      song1 == song2 == True
      song1.length() == 16
      """
  
output:     
      class Song:
          def __init__(self, title: str, artist: str):
              self.title = title
              self.artist = artist
          
          def __str__(self) -> str:
              return f'Title: {self.title}\nArtist: {self.artist}'
          
          def __eq__(self, other: 'Song') -> bool:
              return self.title == other.title and self.artist == other.artist
          
          def length(self) -> int:
              return len(self.title)
      
      return Song
  