Python z tablicy stringów

map(lambda x: x.strip(), l)
Defeated Dingo