input: Write a function to print the top 5 most frequent words in a given sentence. The function should split the sentence into words and use the collections.Counter to count the frequency of each word. Then, it should print the top 5 most frequent words. If the input sentence is empty, the function should print an empty list.
  def top_5_frequent_words(sentence):
      if not sentence:
          print([])
          return
      words = sentence.split()
      counter = collections.Counter(words)
      result = counter.most_common(5)
      print(result)
  
  assert top_5_frequent_words("Python is an interpreted, high-level, general-purpose programming language.")==None
  assert top_5_frequent_words("Python is great. Python is fun. Python is everywhere.")==None
  assert top_5_frequent_words("A quick brown fox jumps over the lazy dog.")==None
  assert top_5_frequent_words("")==None
output: def top_5_frequent_words(sentence):
      if not sentence:
          print([])
          return
      words = sentence.split()
      counter = collections.Counter(words)
      result = counter.most_common(5)
      print(result)