how do you get the range of a number?
The range of a number does not make sense.
You can have the range of a set of scores - that is the highest score minus the lowest score.
Or
You can have the range of a function. That is all the possible y values.
Example:
(1,2,3,4,5,6) is
0<x<7