python replace from sting code example
Example 1: python replace string
string.replace(old, new, count)
Example 2: replace() python
#our text
text='Hello there how may I help you!'
#replacing ("THIS" with "THIS")
replaced_text=text.replace("!", "?")
print(replaced_text)
#output
"Hello there how may I help you?"