aboutsummaryrefslogtreecommitdiff
path: root/2021
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2021-12-08 15:05:58 +0100
committerThomas Voss <thomasvoss@live.com> 2021-12-08 15:05:58 +0100
commitc472b1be1a2042ecffabc7cb90f4f908f08256b2 (patch)
tree0525348468c734ec1c002e1821d3548dd169ff4e /2021
parentfd24f3a8b86cee51802fa33d4366a2de422f7cb6 (diff)
Use the .total() method
Diffstat (limited to '2021')
-rw-r--r--2021/06/puzzles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/2021/06/puzzles.py b/2021/06/puzzles.py
index 9d3f2d4..c842e55 100644
--- a/2021/06/puzzles.py
+++ b/2021/06/puzzles.py
@@ -20,7 +20,7 @@ def main() -> None:
acc[6] += n
acc[8] = n
- print(sum(acc.values()))
+ print(acc.total())
if __name__ == "__main__":