input: def calculate_insurance_price(user_data: dict) -> float:
      """ Calculates the insurance price based on the user input data.
      >>> calculate_insurance_price({'age': 25, 'gender': 'male', 'car_model': 'sedan'})
      1000.0
      >>> calculate_insurance_price({'age': 30, 'gender': 'female', 'car_model': 'suv'})
      1200.0
      """
      age = user_data['age']
      gender = user_data['gender']
      car_model = user_data['car_model']
  
      # Simple calculation for demonstration purposes
      base_price = 1000
      if gender == 'female':
          base_price += 200
      if car_model == 'suv':
          base_price += 500
      insurance_price = base_price * (1 + (age - 18) * 0.05)
  
      return insurance_price
output:     age = user_data['age']
      gender = user_data['gender']
      car_model = user_data['car_model']
  
      # Simple calculation for demonstration purposes
      base_price = 1000
      if gender == 'female':
          base_price += 200
      if car_model == 'suv':
          base_price += 500
      insurance_price = base_price * (1 + (age - 18) * 0.05)
  
      return insurance_price