diff options
author | Thomas Voss <thomasvoss@live.com> | 2021-12-08 15:05:58 +0100 |
---|---|---|
committer | Thomas Voss <thomasvoss@live.com> | 2021-12-08 15:05:58 +0100 |
commit | c472b1be1a2042ecffabc7cb90f4f908f08256b2 (patch) | |
tree | 0525348468c734ec1c002e1821d3548dd169ff4e /2021/06/puzzles.py | |
parent | fd24f3a8b86cee51802fa33d4366a2de422f7cb6 (diff) |
Use the .total() method
Diffstat (limited to '2021/06/puzzles.py')
-rw-r--r-- | 2021/06/puzzles.py | 2 |
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__": |