2 lines
99 B
Python
2 lines
99 B
Python
def strip_lines(text: str) -> str:
|
|
return "\n".join(line.strip() for line in text.split("\n"))
|