input: Write a function to print a random element from a given list. If the list is empty, the function should print "List is empty".
  def print_random_element(lst):
      if not lst:
          print("List is empty")
      else:
          randomIndex = random.randint(0, len(lst) - 1)
          print("Random element: " + lst[randomIndex])
  
  assert print_random_element(["apple", "banana", "mango", "pear", "grape"]) # Output should be one of the elements from the list
  assert print_random_element([]) # Output should be "List is empty"
output: def print_random_element(lst):
      if not lst:
          print("List is empty")
      else:
          randomIndex = random.randint(0, len(lst) - 1)
          print(lst[randomIndex])