input: Write a python function to select a random element from a list.
  assert random_element([1, 2, 3, 4, 5]) in [1, 2, 3, 4, 5]
  assert random_element(['a', 'b', 'c', 'd']) in ['a', 'b', 'c', 'd']
  assert isinstance(random_element([True, False]), bool)
output: import random
  
  def random_element(lst):
      return random.choice(lst)