Skip to content

Commit 10da934

Browse files
committed
minor update
1 parent 116a513 commit 10da934

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

brain_games/games/brain_progression.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ def question_generator():
99
start = random.randint(1, 20)
1010
step = random.randint(1, 5)
1111
hidden_index = random.randint(1, progression_length - 2)
12-
1312
progression = [str(start + i * step) for i in range(progression_length)]
1413
correct_answer = progression[hidden_index]
1514
progression[hidden_index] = '..'
16-
1715
question = ' '.join(progression)
18-
return question, correct_answer
16+
return question, correct_answer

0 commit comments

Comments
 (0)