I have a problem. I am trying to remove a specific word from a string like this:
sentence = "My father always told me to find a girl, so I can be a father in the future"
sentence = sentence.replace("father", '')
But I only want to remove the word father in the first part of the sentence. I can't find something like that on a python explanation of the replace function.
Is this possible and what do I need to use then?