input: Write a function to design a class in Python for storing movie information including the name, year of release, genre, and rating. The class should have a constructor method to initialize these attributes. If the class is created successfully, return the class definition along with an instance and print its attributes.
  assert design_movie_class() == "class Movie:\n    def __init__(self, name, release_year, genre, rating):\n        self.name = name\n        self.release_year = release_year\n        self.genre = genre\n        self.rating = rating\n\nmovie = Movie(\"Interstellar\", 2014, \"Sci-Fi\", 8.4)\nprint(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
  
  movie = Movie("Interstellar", 2014, "Sci-Fi", 8.4)
  print(movie.name, movie.release_year, movie.genre, movie.rating)