結果 : update string at index python