From 7066e473e844c5fbfc6e8b23582e1b553c14e530 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Sat, 12 Dec 2020 07:08:08 +0100 Subject: add "ms" to bottom line --- 20/README | 2 +- 20/py/aoc20.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/20/README b/20/README index a289864..1ab06a1 100644 --- a/20/README +++ b/20/README @@ -15,7 +15,7 @@ Day Time Ans Time Ans 11 432.343 2338 580.579 2134 12 0.257 1645 0.279 35292 ------- ------- -tot TBD TBD +tot TBD ms TBD ms Stats: diff --git a/20/py/aoc20.py b/20/py/aoc20.py index c904e21..ea13447 100644 --- a/20/py/aoc20.py +++ b/20/py/aoc20.py @@ -114,11 +114,11 @@ if __name__ == "__main__": if only_part == 0: print(" -------", end="") print() - print("tot ", end="") + print("tot ", end="") if running_part(1): - print(f"{tot_time[0]*1000:6.3f}", end="") + print(f"{tot_time[0]*1000:8.3f} ms", end="") if only_part == 0: - print(" ", end="") + print(" ", end="") if running_part(2): - print(f"{tot_time[1]*1000:6.3f}", end="") + print(f"{tot_time[1]*1000:8.3f} ms", end="") print() -- cgit v1.2.1