結果 : remove one character from end of string python