Replace All Occurrences
该函数应接受三个字符串作为输入:主文本、目标子字符串和替换子字符串。它应返回一个新字符串,其中主文本中所有出现的目标子字符串都被替换为替换子字符串。
输入三个字符串 (str).
输出: 字符串字符串 (str).
示例
assert replace_all("hello...You should be an authorized user in order to see the full description and start solving this mission.