input: Write a function to design a class in Python for storing movie information including the name, year of release, genre and rating. 
  
  class Movie:
      def __init__(self, name, release_year, genre, rating):
          self.name = name
          self.release_year = release_year
          self.genre = genre
          self.rating = rating
  
  assert Movie("Interstellar", 2014, "Sci-Fi", 8.4).name == "Interstellar"
  assert Movie("Interstellar", 2014, "Sci-Fi", 8.4).release_year == 2014
  assert Movie("Interstellar", 2014, "Sci-Fi", 8.4).genre == "Sci-Fi"
  assert Movie("Interstellar", 2014, "Sci-Fi", 8.4).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
  
  assert Movie("The Godfather", 1972, "Crime", 9.2).name == "The Godfather"
  assert Movie("The Godfather", 1972, "Crime", 9.2).release_year == 1972
  assert Movie("The Godfather", 1972, "Crime", 9.2).genre == "Crime"
  assert Movie("The Godfather", 1972, "Crime", 9.2).rating == 9.2
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