Closed this issue 11 years ago · 1 comments
For each line, do strip().
strip()
'\n'.join(map(lambda x: x.strip(), input.split('\n')))