結果 : replace last character in a string python