Skip to content

Instantly share code, notes, and snippets.

@tassioauad
Created February 23, 2021 01:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tassioauad/e291815b890ab412bde6c7dec340e863 to your computer and use it in GitHub Desktop.
Save tassioauad/e291815b890ab412bde6c7dec340e863 to your computer and use it in GitHub Desktop.
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "<h1>Hello, World!</h1>"
@app.route("/portugues")
def portugues():
return "<h1>Olá, Mundo!</h1>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment