結果 : replace char in string python by index