結果 : python remove n characters from end of string