adventofcode2022/day02/toivy.py

10 lines
194 B
Python
Raw Normal View History

2022-12-02 06:26:23 +00:00
data = []
n = 0
with open("input") as f:
for line in f:
for x in line.split():
data.append(x)
n += 1
print('input = {} {} rho "{}"'.format(n, 2, ''.join(data)))