結果 : python replace a character in a string at an index