Ask coding questions

← Back to all posts
Help me with flask
CesarChagas (0)

I need to run an application like this on the flask, what is the command?

cod = input ('Código: ')
numqt = input ('Quartos: ')
bairro = input ('Bairro: ')

print cod numqt bairro

Basic command

from flask import Flask
app = Flask('app')

@app.route('/')
def hello_world():
return 'Hello, World!'

app.run(host='0.0.0.0', port=8080)