Skip to content

Commit 6668e01

Browse files
author
vdz
committed
fixed fails
1 parent d6f7d9b commit 6668e01

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

brain_games/games/brain_even.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ def even():
2424
print('Correct!')
2525
count += 1
2626
elif rand_num % 2 == 0 and user_answer == 'no':
27-
return print(f"'no' is wrong answer ;(. Correct answer was 'yes'.\nLet`s try again, {name}!")
27+
return print(f"'no' is wrong answer ;(. Correct answer was 'yes'.\nLet's try again {name}!")
2828
elif rand_num % 2 != 0 and user_answer == 'yes':
29-
return print(f"'yes' is wrong answer ;(. Correct answer was 'no'.\nLet`s try again, {name}!")
29+
return print(f"'yes' is wrong answer ;(. Correct answer was 'no'.\nLet's try again, {name}!")
3030
else:
3131
return print(f"{user_answer} is wrong answer ;(.\nLet's try again, {name}!")
3232

brain_games/games/brain_gcd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def gcd():
2222
print('Correct!')
2323
count += 1
2424
else:
25-
return print(f"'{user_answer}' is wrong answer ;(. Correct answer was '{correct_answer}'.\nLet`s try again, {name}!")
25+
return print(f"'{user_answer}' is wrong answer ;(. Correct answer was '{correct_answer}'.\nLet's try again, {name}!")
2626

2727
print(f'Congratulations, {name}!')
2828

brain_games/games/brain_prime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def prime():
2727
print('Correct!')
2828
count += 1
2929
else:
30-
return print(f"{user_answer} is wrong answer ;(. Correct answer was {correct_answer}.\nLet`s try again, {name}!")
30+
return print(f"{user_answer} is wrong answer ;(. Correct answer was {correct_answer}.\nLet's try again, {name}!")
3131

3232
print(f'Congratulations, {name}!')
3333

brain_games/games/brain_progression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def progression():
3232
print('Correct!')
3333
count += 1
3434
else:
35-
return print(f"{user_answer} is wrong answer ;(. Correct answer is {correct_answer}.\nLet`s try again, {name}!")
35+
return print(f"{user_answer} is wrong answer ;(. Correct answer is {correct_answer}.\nLet's try again, {name}!")
3636
print(f'Congratulations, {name}!')
3737

3838

0 commit comments

Comments
 (0)