We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2a2cf0 commit 2144d55Copy full SHA for 2144d55
103/winners.py
@@ -19,7 +19,12 @@ def print_game_stats(games_won=games_won):
19
"""
20
for key,value in games_won.items():
21
# print(str(key) + " " + str(value))
22
- print(str(key) + " has won " + str(value) + " games")
+ if value == 1:
23
+ print(str(key) + " has won " + str(value) + " game")
24
+ continue
25
+ else:
26
+ print(str(key) + " has won " + str(value) + " games")
27
28
pass
29
30
# print_game_stats(games_won)
0 commit comments