how to replace word in string python\ code example
Example: 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?"