結果 : replace character in string using index python