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