Conditions | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | from __future__ import annotations |
||
69 | def main(): |
||
70 | content = pathlib.Path('./input.txt').read_text() |
||
71 | |||
72 | moves: List[Tuple[PlayMove, ...]] = [ |
||
73 | tuple(map(TRANSLATION_MAP.get, line.split())) |
||
74 | for line in content.splitlines() |
||
75 | ] |
||
76 | |||
77 | print("Part 1:", get_part_one_score(moves)) |
||
78 | print("Part 2:", get_part_two_score(moves)) |
||
79 | |||
83 |