結果 : how to replace a character at an index in a string python