Write spread(nums) that returns the largest minus the smallest number of a non-empty list.
spread([3, 9, 1]) → 8
spread([5]) → 0
Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.