home
clear breadcrumbs
search
login
 
strip \n \r \t from elements in list
l = ['a\n','b\n','c'] print(l) ll = list(map(str.strip,l)) print(ll)