Update app.py
Browse files
app.py
CHANGED
|
@@ -5,8 +5,8 @@ app = Flask(__name__)
|
|
| 5 |
app.secret_key = "your_secret_key" # セッションを使用するための秘密鍵を設定します
|
| 6 |
|
| 7 |
def generate_question():
|
| 8 |
-
num1 = random.randint(100,
|
| 9 |
-
num2 = random.randint(100,
|
| 10 |
session['answer'] = num1 + num2
|
| 11 |
return f"{num1} + {num2}"
|
| 12 |
|
|
|
|
| 5 |
app.secret_key = "your_secret_key" # セッションを使用するための秘密鍵を設定します
|
| 6 |
|
| 7 |
def generate_question():
|
| 8 |
+
num1 = random.randint(100, 9999)
|
| 9 |
+
num2 = random.randint(100, 9999)
|
| 10 |
session['answer'] = num1 + num2
|
| 11 |
return f"{num1} + {num2}"
|
| 12 |
|