input: 
  def calculate_insurance():
      """
      Create a Python web application that calculates the insurance price for a car.
      The application should be built using Flask and should have a route '/calculate'
      that accepts a POST request. The input data (age, gender, car model) should be
      sent in JSON format, and the calculated insurance price should be returned
      in JSON format.
      Example:
      for a POST request to '/calculate' with JSON data:
      {
          "age": 30,
          "gender": "male",
          "car_model": "Toyota Camry"
      }
      the output should be:
      {
          "insurance_price": 0.00
      }
      """
  
output:     
      from flask import Flask, request, jsonify
  
      app = Flask(__name__)
  
      @app.route('/calculate', methods=['POST'])
      def calculate_insurance():
          data = request.get_json()
          age = data.get('age')
          gender = data.get('gender')
          car_model = data.get('car_model')
  
          # Simple calculation for demonstration purposes
          if age < 25:
              insurance_price = 1000.00
          elif age < 35:
              insurance_price = 750.00
          else:
              insurance_price = 500.00
  
          if gender == 'female':
              insurance_price *= 0.9
  
          if car_model == 'Toyota Camry':
              insurance_price *= 1.1
  
          return jsonify({"insurance_price": round(insurance_price, 2)})
  
      if __name__ == '__main__':
          app.run(debug=True)
  