input: Write a function to print a random element from a given list.
  assert print_random_element(["apple", "banana", "mango", "pear", "grape"])
  assert print_random_element(["carrot", "broccoli", "spinach"])
output: import random
  
  def print_random_element(lst):
      print(random.choice(lst))