We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 116a513 commit 10da934Copy full SHA for 10da934
brain_games/games/brain_progression.py
@@ -9,10 +9,8 @@ def question_generator():
9
start = random.randint(1, 20)
10
step = random.randint(1, 5)
11
hidden_index = random.randint(1, progression_length - 2)
12
-
13
progression = [str(start + i * step) for i in range(progression_length)]
14
correct_answer = progression[hidden_index]
15
progression[hidden_index] = '..'
16
17
question = ' '.join(progression)
18
- return question, correct_answer
+ return question, correct_answer
0 commit comments