input: def insurance_calculator():
      """Create a Python web application for a car insurance calculator. The application should have a page where the user can input the data (e.g age, gender, car model, etc) and should return a calculated insurance price.
      
      Example:
      Input: {"age": 30, "gender": "male", "car_model": "Honda Civic"}
      Output: {"insurance_price": 0.00}
      """
output:     
      from flask import Flask, request, jsonify
  
      app = Flask(__name__)
  
      @app.route('/calculate_insurance', methods=['POST'])
      def calculate_insurance():
          data = request.json
          age = data.get('age')
          gender = data.get('gender')
          car_model = data.get('car_model')
  
          # Simple calculation for demonstration purposes
          insurance_price = 0.0
          if age < 25:
              insurance_price += 500
          elif age >= 25 and age < 60:
              insurance_price += 300
          else:
              insurance_price += 400
  
          if gender == 'male':
              insurance_price += 100
          else:
              insurance_price += 50
  
          if car_model == 'Honda Civic':
              insurance_price += 200
          elif car_model == 'Toyota Corolla':
              insurance_price += 150
          else:
              insurance_price += 250
  
          return jsonify({"insurance_price": insurance_price})
  
      if __name__ == '__main__':
          app.run(debug=True)
  