input: Write a function to shuffle a list of numbers. The function should return the shuffled list.
  
  def shuffle_list(nums):
      random.shuffle(nums)
      return nums
  
  assert shuffle_list([1, 2, 3, 4, 5]) != [1, 2, 3, 4, 5]
  assert shuffle_list([5, 4, 3, 2, 1]) != [5, 4, 3, 2, 1]
  assert shuffle_list([1]) == [1]
  assert shuffle_list([]) == []
output: def shuffle_list(nums):
      random.shuffle(nums)
      return nums