Skip to content

Instantly share code, notes, and snippets.

Last active Oct 9, 2019
What would you like to do?
Introducción a Flask
from flask import Flask
app = Flask(__name__)
def inicio():
return "<h1>Hola mundo con Flask</h1>"
def suma():
resultado = 5 + 5
return "<h1>5 + 5 = {}</h1>".format(resultado)
if __name__ == "__main__":'', port=8000, debug=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment