Saisie de Code · Python
Flask Hello World
Minimal Flask HTTP route with JSON response.
Difficulte: Intermediaire · 10 Lignes · Licence: public-domain
from flask import Flask, jsonify
app = Flask(__name__)
@app.route('/hello')
def hello():
return jsonify({'message': 'hello world'})
if __name__ == '__main__':
Temps0:00
Vitesse (WPM)0.0
Précision100.0%
Erreurs0
Clavier Live
Touche Suivante: F | Dernière Touche: -
Progression: 0.0%
@
&
É
"
'
(
§
È
!
Ç
À
)
-
A
Z
E
R
T
Y
U
I
O
P
^
$
Q
S
D
F
G
H
J
K
L
M
Ù
W
X
C
V
B
N
,
;
:
=
Espace
Timed Test Leaderboard
Aucun resultat pour le moment.