input: Write a function to implement the class Song as described. The class should include an initialization method to set the title and artist of the song, a string representation method, a method to compare songs for equality based on their artist and title, and a method to return the length of the song's title. Use the provided assertions to verify the implementation.
  
  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)
  
  assert str(Song('Bohemian Rhapsody', 'Queen')) == 'Title: Bohemian Rhapsody\nArtist: Queen'
  assert str(Song('Stairway to Heaven', 'Led Zeppelin')) == 'Title: Stairway to Heaven\nArtist: Led Zeppelin'
  assert Song('Bohemian Rhapsody', 'Queen') == Song('Bohemian Rhapsody', 'Queen') == True
  assert Song('Bohemian Rhapsody', 'Queen') == Song('Another One Bites The Dust', 'Queen') == False
  assert Song('Bohemian Rhapsody', 'Queen').length() == 17
  assert Song('Stairway to Heaven', 'Led Zeppelin').length() == 17
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)