summaryrefslogtreecommitdiffstats
path: root/20/py
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2020-12-12 07:08:08 +0100
committerGustav Sörnäs <gustav@sornas.net>2020-12-12 07:08:08 +0100
commit7066e473e844c5fbfc6e8b23582e1b553c14e530 (patch)
treedf47ee926d8996609969d26f8d9d5b1152ea1a0b /20/py
parent7cb89fe4164c63eaafeb7542030af187a5e32a68 (diff)
downloadaoc-7066e473e844c5fbfc6e8b23582e1b553c14e530.tar.gz
add "ms" to bottom line
Diffstat (limited to '20/py')
-rw-r--r--20/py/aoc20.py8
1 files changed, 4 insertions, 4 deletions
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()