suminb/translator

Remove unnecessary whitespace characters

Closed this issue · 1 comments

For each line, do strip().

'\n'.join(map(lambda x: x.strip(), input.split('\n')))