Write a function that returns the difference between the largest and smallest numbers in a list.
Constraints
Example
>>> range_of_values([3, 1, 4, 1, 5]) 4 >>> range_of_values([-5, 5]) 10 >>> range_of_values([]) 0 >>> range_of_values([2.5, 2.5]) 0.0
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints