diff --git a/piggybank/__main__.py b/piggybank/__main__.py index 85883e9..df84d1f 100644 --- a/piggybank/__main__.py +++ b/piggybank/__main__.py @@ -104,10 +104,10 @@ def print_summary(pb: PiggyBank) -> None: print(f"┃{'Counts':^27}┃{'┃'.join(f'{c:^12}' for c in s)}┃") print_separator("┣", "╋", "╋", "┫") s = currency * s - print(f"┃{'Sums in currency':^27}┃{'┃'.join(f'{c/100:^12.2f}' for c in s)}┃") + print(f"┃{'Sums':^27}┃{'┃'.join(f'{c/100:^12.2f}' for c in s)}┃") print_separator("┣", "╋", "┻", "┫") s = sum(s) - print(f"┃{'Total in currency':^27}┃{s/100:^{12*len(currency)+len(currency)-1}.2f}┃") + print(f"┃{'Total':^27}┃{s/100:^{12*len(currency)+len(currency)-1}.2f}┃") print_separator("┗", "┻", "━", "┛")