Skip to content

Commit 2dc8e2b

Browse files
committed
feat: apply linter fixes
1 parent 463957b commit 2dc8e2b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

brain_games/engine.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ def run_game(get_question_and_answer, game_instruction):
2525
print('Correct!')
2626
count_tries += 1
2727
else:
28-
print(f"'{answer}' is wrong answer ;(. Correct answer was '{correct_answer}'."
29-
f"Let's try again, {name}!")
28+
print(f"'{answer}' is wrong answer ;(. "
29+
f"Correct answer was '{correct_answer}'."
30+
f"Let's try again, {name}!")
3031
count_tries = 0
3132

3233
print(f'Congratulations, {name}!')

brain_games/games/calc.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
from brain_games.consts import CALC_INSTRUCTION
44

55

6-
7-
86
def get_math_expression_and_answer():
97
num_1 = get_random_num()
108
num_2 = get_random_num()

0 commit comments

Comments
 (0)