input: Write a function to select and print five random elements from a given list. If the list is shorter than five elements, print all elements. The function should take a list as input and print the selected elements.
  assert random_elements([1, 3, 5, 8, 7, 2, 10, 4, 6])==None
  assert random_elements([2, 4, 6, 8, 10])==None
  assert random_elements([1, 3])==None
  assert random_elements([])==None
output: import random
  
  def random_elements(lst):
      if len(lst) < 5:
          print(lst)
      else:
          print(random.sample(lst, 5))