AdventOfCode/2023/day6/part1.py

30 lines
395 B
Python

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