input: Write a function to create a Movie class in Python that includes attributes for the name, year of release, genre, and rating. The class should have an initialization method to set these attributes. Create an instance of this class and print the details of the movie.
  class Movie:
      def __init__(self, name, release_year, genre, rating):
          self.name = name
          self.release_year = release_year
          self.genre = genre
          self.rating = rating
  
  movie = Movie("Interstellar", 2014, "Sci-Fi", 8.4)
  print(movie.name, movie.release_year, movie.genre, movie.rating)
  assert movie.name == "Interstellar"
  assert movie.release_year == 2014
  assert movie.genre == "Sci-Fi"
  assert movie.rating == 8.4
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