input: Write a function to shuffle a given list using Python's random module. If the list is empty, return the empty list. If the list contains non-numeric elements, raise a ValueError.
  assert shuffle_list([1, 2, 3, 4, 5]) is not None
  assert isinstance(shuffle_list([1, 2, 3, 4, 5]), list)
  assert shuffle_list([])==[]
  try:
      shuffle_list(['a', 'b'])
      assert False
  except ValueError:
      pass
output: import random
  
  def shuffle_list(lst):
      if not lst:
          return lst
      if not all(isinstance(x, (int, float)) for x in lst):
          raise ValueError("List contains non-numeric elements")
      shuffled_lst = lst[:]
      random.shuffle(shuffled_lst)
      return shuffled_lst