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 264bc7a commit ab285e0Copy full SHA for ab285e0
brain_games/games/progression.py
@@ -13,7 +13,7 @@ def get_random_sequence_and_answer():
13
if i == 0:
14
sequence.append(random.randint(1, 16))
15
else:
16
- sequence += [sequence[i-1] + random_step]
+ sequence += [sequence[i - 1] + random_step]
17
18
question = ''
19
answer = random.choice(sequence)
0 commit comments