AdventOfCode/2023/day6/part1.py

30 lines
395 B
Python
Raw Normal View History

2023-12-06 17:38:30 +01:00
#!/bin/python3
import sys
from pprint import pprint
input_f = sys.argv[1]
arr = []
from aocd import get_data
maps = map(get_data(2023,6))
print(maps)
with open(input_f) as file:
for line in file:
tmp = line.rstrip()
tmp = tmp.split()
arr.append(tmp)
# continue
# t = tmp[idx]
# r = tmp[len(tmp)]
# #print(t,r)