結果 : replace last character from string python