Use slash as separator
This commit is contained in:
@@ -84,9 +84,9 @@ def print_standings(players, guesses, results):
|
||||
for player in players:
|
||||
if num_round <= len(results[player]):
|
||||
points[player] += calc_points(guesses[player][num_round - 1], results[player][num_round - 1])
|
||||
text = f"{points[player]} - {guesses[player][num_round - 1]} ({results[player][num_round - 1]})"
|
||||
text = f"{points[player]} / {guesses[player][num_round - 1]} ({results[player][num_round - 1]})"
|
||||
else:
|
||||
text = f"??? - {guesses[player][num_round - 1]} (?)"
|
||||
text = f"??? / {guesses[player][num_round - 1]} (?)"
|
||||
|
||||
pad = " " * (width - len(text) - 2)
|
||||
print(f" {pad}{text} |", end="")
|
||||
|
||||
Reference in New Issue
Block a user