Skip to content

Commit 5962767

Browse files
committed
Update engine.py
1 parent 0c0a20a commit 5962767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

brain_games/engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def run_game(get_question_and_answer, game_instruction):
2121
print(f'Question: {question}')
2222
answer = prompt.string('Your answer: ')
2323

24-
if answer == correct_answer:
24+
if answer.lower() == correct_answer:
2525
print('Correct!')
2626
count_tries += 1
2727
else:

0 commit comments

Comments
 (0)