def trim(s): start = 0 end = len(s) while True: if s[start:start + 1] != ' ' and s[end - 1:end] != ' ': break elif s[start:start + 1] == ' ': start = start + 1 elif s[end - 1:end] == ' ': end = end - 1 return s[start:end]
Sign in to make a reply
不知火舞舞舞舞舞