結果 : python replace last n characters in string