input: from typing import List
  
  
  def create_song_class(titles: List[str], artists: List[str]) -> List[type]:
      """ Creates a list of Song classes with given titles and artists. Each Song class
      has two instance variables, title and artist, and three methods: str(), eq(), and length().
      >>> create_song_class(['Lose Yourself', 'Bohemian Rhapsody'], ['Eminem', 'Queen'])
      [<class '__main__.Song'>, <class '__main__.Song'>]
      """
      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(title, artist) for title, artist in zip(titles, artists)]
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 [type('Song', (Song,), {}) for _ in range(len(titles))]