python_math_stat/practica/math/statistic/Statistic_tasks/range.py

4 lines
95 B
Python
Raw Normal View History

# размах
def find_range(x):
x_copy = sorted(x)
return abs(x_copy[-1] - x_copy[0])