1
0
Fork 0

Made rows names to be less retarded.

This commit is contained in:
Alexander Andreev 2020-07-08 02:17:11 +04:00
parent bab9fda3fb
commit dd138dcaca
1 changed files with 2 additions and 2 deletions

View File

@ -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("", "", "", "")