input: Write a function to remove consecutive duplicate words from a string.
  assert remove_duplicate_words("The the quick brown fox fox jumps over the lazy dog dog") == "The quick brown fox jumps over the lazy dog"
  assert remove_duplicate_words("hello hello world world") == "hello world"
  assert remove_duplicate_words("this is is a test test case") == "this is a test case"
output: def remove_duplicate_words(s):
      words = s.split()
      result = [words[0]]
      for i in range(1, len(words)):
          if words[i] != words[i-1]:
              result.append(words[i])
      return ' '.join(result)