結果 : python string replace last n characters