From 1c26efc47a806ba202d65c9110633b0dccb5f80c Mon Sep 17 00:00:00 2001 From: Lucas Alber Date: Sat, 13 Aug 2022 15:03:00 +0200 Subject: [PATCH] Use slash as separator --- wizard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wizard.py b/wizard.py index 135e82e..19ac1d0 100644 --- a/wizard.py +++ b/wizard.py @@ -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="")