結果 : python replace last three characters of a string