antwort "4" angepasst
This commit is contained in:
parent
c4f36b15e5
commit
d8652af394
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
|
@ -11,7 +11,7 @@ def hello():
|
||||||
@app.route("/frage", methods=["GET", "POST"])
|
@app.route("/frage", methods=["GET", "POST"])
|
||||||
def frage():
|
def frage():
|
||||||
if request.method == "POST":
|
if request.method == "POST":
|
||||||
if request.form["antwort"] == "8":
|
if request.form["antwort"] == "4":
|
||||||
return "Richtig! Tür offen."
|
return "Richtig! Tür offen."
|
||||||
return "Leider falsch."
|
return "Leider falsch."
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue