Advent-of-Code/2017/day4.py

17 lines
237 B
Python
Raw Permalink Normal View History

2023-07-07 00:47:08 -04:00
#!/usr/bin/env python3
lis = []
for line in open("day4.sample"):
print(line)
for word in line.split():
lis.append(word)
print([word for line in open("day4.sample") for word in line.split()])
print(lis, type(lis))