input: def replace_word(sentence: str, old_word: str, new_word: str) -> str:
      """ Replace a given string in the sentence with another string.
      >>> replace_word("I love walking on the beach", "walking", "swimming")
      "I love swimming on the beach"
      """
output:     return sentence.replace(old_word, new_word)