結果 : python replace char in string by index