結果 : python replace last x characters in string