input: Write a function to shuffle a given list in Python. The function should use the random number generator to shuffle the elements of the list.  
  assert shuffle_list([1, 2, 3, 4, 5])
  assert shuffle_list(['a', 'b', 'c', 'd'])
  assert shuffle_list([])
  assert shuffle_list([7, 5, 3, 1])
  assert shuffle_list(['apple', 'banana', 'cherry', 'date'])
  
  The output of each test case will be a shuffled version of the input list.
output: import random
  
  def shuffle_list(lst):
      random.shuffle(lst)
      return lst