input: Write a function to design a class in Python for storing movie information including the name, year of release, genre, and rating. Provide a constructor to initialize these attributes. If the input is a movie with a name, year, genre, and rating, return the name, year, genre, and rating of the movie. If the input is an empty string, return an empty string.
  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
  assert Movie("", 0, "", 0.0)==""
output: class Movie:
      def __init__(self, name, year, genre, rating):
          if name == "":
              self.name = ""
              self.release_year = ""
              self.genre = ""
              self.rating = ""
          else:
              self.name = name
              self.release_year = year
              self.genre = genre
              self.rating = rating