input: 
  import flask
  from flask import request, jsonify
  
  # Creating the application app
  app = flask.Flask(__name__)
  
  
  @app.route('/calculate', methods=['POST'])
  def calculate():
      # Get the input data from the user
      data = request.get_json()
  
      age = data['age']
      gender = data['gender']
      car_model = data['car_model']
  
      # Calculate the insurance price
      # ...
      insurance_price = 0.00
  
      # Return the calculated insurance price in JSON format
      return jsonify({'insurance_price': insurance_price})
  
  app.run(host='0.0.0.0', port=8006)
  
output:     
      if gender == 'male':
          insurance_price = age * 1.2
      elif gender == 'female':
          insurance_price = age * 1.1
  
      if car_model == 'sedan':
          insurance_price *= 1.05
      elif car_model == 'suv':
          insurance_price *= 1.1
      elif car_model == 'sports':
          insurance_price *= 1.2
  
      insurance_price = round(insurance_price, 2)
  