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