input: Write a function to shuffle a list of numbers using Python's `random.shuffle` method. The function should take a list of numbers as input and return the shuffled list.
  
  import random
  
  def shuffle_list(nums):
      random.shuffle(nums)
      return nums
  
  assert shuffle_list([1, 2, 3, 4, 5]) == [3, 5, 2, 4, 1]
  assert shuffle_list([10, 20, 30, 40]) == [40, 10, 30, 20]
  assert shuffle_list([7, 8, 9]) == [9, 8, 7]
  assert shuffle_list([]) == []
  assert shuffle_list([1]) == [1]
output: def shuffle_list(nums):
      random.shuffle(nums)
      return nums