input: Write a function to shuffle a list of numbers. The function should use the `random.shuffle` method to shuffle the list in place and return the shuffled list.
  
  import random
  
  def shuffle_list(nums):
      random.shuffle(nums)
      return nums
  
  assert shuffle_list([1, 2, 3, 4, 5]) != [1, 2, 3, 4, 5]
  assert len(shuffle_list([1, 2, 3, 4, 5])) == 5
  assert set(shuffle_list([1, 2, 3, 4, 5])) == {1, 2, 3, 4, 5}
output: import random
  
  def shuffle_list(nums):
      random.shuffle(nums)
      return nums