2022/day6/common.py

4 lines
89 B
Python

def parse(filename: str):
with open(filename) as f:
return f.readline()[:-1]