advent_of_code/2023/12/12.py

10 lines
279 B
Python
Raw Permalink Normal View History

2024-12-02 19:34:32 +01:00
#!/usr/bin/env python
# 2023 - Advent Of Code 12 - part 1
file = 'input_example.txt'
# file = 'input.txt'
# pylint: disable=consider-using-with
input_lines = [line.strip('\n') for line in open(file, encoding="utf-8")]
print(f'map: ({len(input_lines[0])}, {len(input_lines)})')