結果 : replace character at specific index python