input: Write a function to print a random element from a given list. The function should take a list as input and print out a randomly selected element from the list. If the list is empty, the function should print a message indicating that the list is empty and no element can be selected.
  assert print_random_element(["apple", "banana", "mango", "pear", "grape"])==None
  assert print_random_element([])==None
output: import random
  
  def print_random_element(lst):
      if not lst:
          print("The list is empty and no element can be selected.")
      else:
          print(random.choice(lst))