結果 : python replace last 3 characters in string