Skip to content

Commit 2144d55

Browse files
author
boraxpr
committed
bite 103 bugfix
1 parent d2a2cf0 commit 2144d55

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

103/winners.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ def print_game_stats(games_won=games_won):
1919
"""
2020
for key,value in games_won.items():
2121
# print(str(key) + " " + str(value))
22-
print(str(key) + " has won " + str(value) + " games")
22+
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+
continue
2328
pass
2429

2530
# print_game_stats(games_won)

0 commit comments

Comments
 (0)