結果 : replace string character at index python