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