input: Write a function to print a random element from a given list. The function should take a list as input and print one of its elements randomly. If the given list is empty, print "List is empty".
  import random
  assert print_random_element(["apple", "banana", "mango", "pear", "grape"])
  assert print_random_element([])
  assert print_random_element(["apple", "banana", "mango"])
output: def print_random_element(lst):
      if not lst:
          print("List is empty")
      else:
          print(random.choice(lst))