from flask import Flask app = Flask(__name__) @app.route('/') def calculate-hard(): result = 3 * 4 + 12 return str(result)