Distance
Created on Jan. 16, 2017 by Julien Palard
Find the distance between the two furthest apart values in a list.
Create a dist
function, receiving a list of numbers (integers or
floating points), and returning the bigger distance between any two
given values, so typically the distance between the biggest and the
smallest, like:
1 2 3 4 5 6 7 8 9 10 |
|