from typing import Any def parse(filename: str) -> Any | None: with open(filename) as f: return [tuple(a[:-1].split()) for a in f.readlines()]