結果 : change last char of string python