input: 
  def car_insurance_calculator(age: int, gender: str, car_model: str) -> float:
      """ Calculate the insurance price based on the user's age, gender, and car model.
      >>> car_insurance_calculator(25, 'male', 'sedan')
      500.0
      >>> car_insurance_calculator(40, 'female', 'SUV')
      750.0
      >>> car_insurance_calculator(18, 'other', 'sports')
      1200.0
      """
  
output:     base_price = 500.0
      if age < 25:
          base_price += 300.0
      elif age >= 25 and age < 35:
          base_price += 100.0
      elif age >= 35 and age < 50:
          base_price += 50.0
      else:
          base_price += 25.0
  
      if gender == 'male':
          base_price += 100.0
      elif gender == 'female':
          base_price += 50.0
  
      if car_model.lower() == 'sports':
          base_price += 500.0
      elif car_model.lower() == 'suv':
          base_price += 250.0
      elif car_model.lower() == 'sedan':
          base_price += 100.0
  
      return base_price