input: Write a function to create a MediaItem object and verify its properties.
  assert create_media_item("Action", 120, "2022-01-01").genre == "Action"
  assert create_media_item("Action", 120, "2022-01-01").duration == 120
  assert create_media_item("Action", 120, "2022-01-01").release_date == "2022-01-01"
  assert create_media_item("Drama", 90, "2021-12-12").genre == "Drama"
  assert create_media_item("Drama", 90, "2021-12-12").duration == 90
  assert create_media_item("Drama", 90, "2021-12-12").release_date == "2021-12-12"
output: def create_media_item(genre, duration, release_date):
      class MediaItem:
          def __init__(self, genre, duration, release_date):
              self.genre = genre
              self.duration = duration
              self.release_date = release_date
  
      return MediaItem(genre, duration, release_date)