結果 : replace character in string python by index