input: Write a function to select five random elements from a given list and print them. If the list has fewer than five elements, print all of them.
  assert select_random_elements([1, 3, 5, 8, 7, 2, 10, 4, 6, 9])
  assert select_random_elements([2, 4])
  assert select_random_elements(["apple", "banana", "orange", "grape", "kiwi", "mango"])
  assert select_random_elements(["a", "b"])
  assert select_random_elements([])
output: import random
  
  def select_random_elements(lst):
      if len(lst) < 5:
          for element in lst:
              print(element)
      else:
          for element in random.sample(lst, 5):
              print(element)