input: def movie_info_class(movie_name: str, release_year: int, genre: str, rating: float) -> 'Movie':
      """
      Design a class for storing movie information including the name, year of release, genre and rating.
      >>> movie = movie_info_class("Interstellar", 2014, "Sci-Fi", 8.4)
      >>> movie.name
      'Interstellar'
      >>> movie.release_year
      2014
      >>> movie.genre
      'Sci-Fi'
      >>> movie.rating
      8.4
      """
      
      class Movie:
          def __init__(self, name, release_year, genre, rating):
              self.name = name
              self.release_year = release_year
              self.genre = genre
              self.rating = rating
      
      return Movie(movie_name, release_year, genre, rating)
output:     class Movie:
          def __init__(self, name, release_year, genre, rating):
              self.name = name
              self.release_year = release_year
              self.genre = genre
              self.rating = rating
      
      return Movie(movie_name, release_year, genre, rating)