input: Write a function to print a random element from a given list. The function should take a list as input and print a randomly selected element from that list.
  
  import random
  
  def print_random_element(lst):
      randomIndex = random.randint(0, len(lst)-1)
      print(lst[randomIndex])
  
  assert print_random_element(["apple", "banana", "mango", "pear", "grape"])
  assert print_random_element(["apple", "banana", "mango", "pear", "grape"])
  assert print_random_element(["apple", "banana", "mango", "pear", "grape"])
  assert print_random_element(["apple", "banana", "mango", "pear", "grape"])
  assert print_random_element(["apple", "banana", "mango", "pear", "grape"])
output: import random
  
  def print_random_element(lst):
      randomIndex = random.randint(0, len(lst)-1)
      print(lst[randomIndex])