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 7213e3c commit d0dde0eCopy full SHA for d0dde0e
brain_games/games/b_progression_logic.py
@@ -23,7 +23,8 @@ def b_progression():
23
q_seq = seq
24
q_seq.pop(i)
25
q_seq.insert(i, '..')
26
- print(f'Question: {q_seq}')
+ q_seq = [str(i) for i in q_seq]
27
+ print(f'Question: {", ".join(q_seq)}')
28
answer = prompt.string('Your answer: ')
29
if answer == str(missing_number):
30
print('Correct!')
@@ -35,6 +36,6 @@ def b_progression():
35
36
print(
37
f"{answer} is wrong answer ;(."
38
f"Correct answer was {missing_number}.\n"
- f"Let's try again, {ngin.name}!"
39
+ f"Let's try again, {ngin.name}"
40
)
41
quit()
0 commit comments