s = ' \n \t hello\n'.strip('\n') # -> not leading, so the first \n is not removed! # ' \n \t hello' s = '\n\n \t hello\n'.strip('\n') # ' \t ...
確定! 回上一頁