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
  
  movie = Movie("Inception", 2010, "Sci-Fi", 8.8)
  assert movie.name=="Inception"
  assert movie.release_year==2010
  assert movie.genre=="Sci-Fi"
  assert movie.rating==8.8
output: def __init__(self, name, release_year, genre, rating):
      self.name = name
      self.release_year = release_year
      self.genre = genre
      self.rating = rating