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