input: Write a function to extract the most frequent word from a given text.
  assert extract_frequent_words("apple orange banana apple apple orange") == "apple"
  assert extract_frequent_words("hello world hello") == "hello"
  assert extract_frequent_words("one two two three three three") == "three"
output: def extract_frequent_words(text):
      from collections import Counter
      words = text.split()
      word_count = Counter(words)
      most_frequent_word = max(word_count, key=word_count.get)
      return most_frequent_word