input: Write a python function to create a Car object, and return its details as a string using the get_details method.
  assert create_car_details(2023, "Toyota", "Camry") == "2023 Toyota Camry"
  assert create_car_details(2019, "Honda", "Civic") == "2019 Honda Civic"
  assert create_car_details(2020, "Ford", "Mustang") == "2020 Ford Mustang"
output: def create_car_details(year, make, model):
      class Car:
          def __init__(self, year, make, model):
              self.year = year
              self.make = make
              self.model = model
              
          def get_details(self):
              return f"{self.year} {self.make} {self.model}"
      
      car = Car(year, make, model)
      return car.get_details()