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 0c0a20a commit 5962767Copy full SHA for 5962767
brain_games/engine.py
@@ -21,7 +21,7 @@ def run_game(get_question_and_answer, game_instruction):
21
print(f'Question: {question}')
22
answer = prompt.string('Your answer: ')
23
24
- if answer == correct_answer:
+ if answer.lower() == correct_answer:
25
print('Correct!')
26
count_tries += 1
27
else:
0 commit comments