input: Write a python function to create a Hotel object and return its number of rooms and rating.
  assert create_hotel("Grand Hotel", 5, 200).num_rooms() == 200
  assert create_hotel("Grand Hotel", 5, 200).rating() == 5
  assert create_hotel("Cozy Inn", 3, 50).num_rooms() == 50
  assert create_hotel("Cozy Inn", 3, 50).rating() == 3
output: def create_hotel(name, rating, num_rooms):
      class Hotel:
          def __init__(self, name, rating, num_rooms):
              self._name = name
              self._rating = rating
              self._num_rooms = num_rooms
          
          def num_rooms(self):
              return self._num_rooms
          
          def rating(self):
              return self._rating
      
      return Hotel(name, rating, num_rooms)