advent_of_code/2023/12/12.py

9 lines
279 B
Python

#!/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)})')