input: Write a function to print a random element from a given list of strings. If the list is empty, the function should print "No elements in the list". The function should accept a single parameter, which is the list of strings.
  import random
  
  assert print_random_element(["apple", "banana", "mango", "pear", "grape"])
  assert print_random_element([])
  assert print_random_element(["apple", "banana"])
  assert print_random_element(["apple"])
output: def print_random_element(lst):
      if not lst:
          print("No elements in the list")
      else:
          print(random.choice(lst))