Created
February 23, 2021 01:23
-
-
Save tassioauad/e291815b890ab412bde6c7dec340e863 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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