結果 : replace character at index python