input: Write a function to print the top 5 most frequent words in a given sentence. The function should split the sentence into words, count the frequency of each word using the collections module, and print the top 5 words along with their frequencies. If the sentence is empty, the function should simply print an empty list.
  
  assert top_5_frequent_words("Python is an interpreted, high-level, general-purpose programming language.")==[('programming', 1), ('language.', 1), ('general-purpose', 1), ('high-level,', 1), ('interpreted,', 1)]
  assert top_5_frequent_words("")==[]
output: def top_5_frequent_words(sentence):
      if not sentence:
          return []
      from collections import Counter
      words = sentence.split()
      word_counts = Counter(words)
      top_5 = word_counts.most_common(5)
      return top_5