input: Write a function to create a class named Movie that can store movie information including name, year of release, genre, and rating. The class should have an initializer that sets these attributes when an instance of the class is created. The function should then create an instance of the Movie class with the movie details and print out the movie's attributes.
  
  def create_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 create_movie() == "Interstellar 2014 Sci-Fi 8.4"
output: def create_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)