antwort "4" angepasst

This commit is contained in:
Mara Zöllner 2026-06-17 13:55:40 +02:00
parent c4f36b15e5
commit d8652af394

2
app.py
View file

@ -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."