結果 : replace last 3 characters in string python