結果 : python replace last character of string