Skip to content

Commit 076d8f3

Browse files
committed
update engine, added 'return'
1 parent 6d94b10 commit 076d8f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

brain_games/engine.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ def game_engine(game_description, question_generator):
1818
score = 0
1919
print(f"'{user_answer}' is wrong answer ;(. Correct answer was '{correct_answer}'.")
2020
print(f"Let's try again, {name}!")
21+
return
2122
print(f"Congratulations, {name}!")

0 commit comments

Comments
 (0)