input: Write a function to print a random element from a given list. The function should return None but should print the random element.
  assert print_random_element(["apple", "banana", "mango", "pear", "grape"]) is None
  assert print_random_element([]) is None
  assert print_random_element(["apple"]) is None
output: import random
  
  def print_random_element(lst):
      if lst:
          print(random.choice(lst))