input: Write a function to shuffle a list of numbers. If the input list is empty, return an empty list. Use the random module to accomplish the shuffling.
  def shuffle_list(nums):
   if not nums:
    return []
   random.shuffle(nums)
   return nums
  
  assert shuffle_list([1, 2, 3, 4, 5])==[3, 1, 4, 5, 2] # example output
  assert shuffle_list([])==[]
  assert shuffle_list([10, 20, 30])==[20, 30, 10] # another example output
  assert shuffle_list([5])==[5]
output: def shuffle_list(nums):
   if not nums:
    return []
   random.shuffle(nums)
   return nums