Part 1. Definition
In this task, you are given a list of integers you need to calculate and return the range of the integers which is the difference between maximum and minimum element in the list.
Part 2. Example
[1,2,3,4,5,7,34,25]
Answer: 33
Explanation: maximum element is 34 and minimum element is 1, range is equal to the difference between 34 and 1 which is 33.
Part 3. Exercise
[452, 110, 73, 261, 427, 350, 316, 156, 462, 496, 106, 214, 296, 65, 367, 241, 25, 143, 183, 335]
Answer:
471