結果 : python replace symbol in string by index