Skip to content

Instantly share code, notes, and snippets.

View oxalorg's full-sized avatar
:shipit:
Always Be Coding

Mitesh oxalorg

:shipit:
Always Be Coding
View GitHub Profile
from flask import Flask
app = Flask(__name__)
@app.route("/<int:x>-<int:y>")
def sum(x,y):
return ("Sum of x + y = " + str(x+y))
if __name__ == '__main__':
app.debug = True
app.run(host="127.0.0.1", port=8800)