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