@@ -202,6 +202,9 @@ def str_to_ints(line: str) -> list[int]:
return list(map(int, r.findall(line)))
ints = str_to_ints
def str_to_lines_no_empty(text: str) -> list[str]:
return list(filter(lambda l: l.strip() != "", text.splitlines()))
The note is not visible to the blocked user.