def trim(str): while len(str) > 0 and str[0] == ' ': str = str[1:] while len(str) > 0 and str[-1] == ' ': str = str[:-1] return str
Sign in to make a reply
0xa2A807...221f14