replace
Return a copy of the string with all occurrences of substring old replaced by new.
str.replace(old, new, count=-1)
old
The old substring to be replaced.
count
How many occurrences to replace.
Examples
>>> 'hello world'.replace('world', 'Python')
'hello Python'