2023 - Day 12 part 1 - unfinished

This commit is contained in:
kleph 2024-12-02 19:34:32 +01:00
parent 744c5e0eb1
commit 6d89d17939
2 changed files with 15 additions and 0 deletions

9
2023/12/12.py Normal file
View file

@ -0,0 +1,9 @@
#!/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)})')

View file

@ -0,0 +1,6 @@
???.### 1,1,3
.??..??...?##. 1,1,3
?#?#?#?#?#?#?#? 1,3,1,6
????.#...#... 4,1,1
????.######..#####. 1,6,5
?###???????? 3,2,1