What is the easiest way in Python to replace a character in a string? For example: text = "abcdefg"; text[1] = "Z"; ^.
確定! 回上一頁