input: class MovieClass:
      def __init__(self, movie_details):
          """ Initializes the MovieClass object with movie details provided in the list.
          The list should contain the movie's name, year of release, genre, and rating in that order.
          >>> movie = MovieClass(["Inception", 2010, "Sci-Fi", 8.8])
          >>> print(movie.name, movie.release_year, movie.genre, movie.rating)
          Inception 2010 Sci-Fi 8.8
          """
          self.name = movie_details[0]
          self.release_year = movie_details[1]
          self.genre = movie_details[2]
          self.rating = movie_details[3]
output:     def __str__(self):
          return f"{self.name} ({self.release_year}) - {self.genre}, Rating: {self.rating}"