結果 : python replace last char of string