input: Write a python function to get a random element from a list.
  assert getRandomElement(["apple", "banana", "cherry"]) in ["apple", "banana", "cherry"]
  assert getRandomElement([1, 2, 3, 4, 5]) in [1, 2, 3, 4, 5]
  assert getRandomElement(["red", "blue", "green"]) in ["red", "blue", "green"]
output: import random
  
  def getRandomElement(lst):
      return random.choice(lst)