advent-of-code/2024/X/one.py
2024-12-25 12:59:49 +01:00

12 lines
189 B
Python

#!/usr/bin/env python3
import sys
input_file = sys.argv[1]
with open(input_file) as fd:
lines = [line.rstrip() for line in fd.readlines()]
height = len(lines)
width = len(lines[0])