python_math_stat/practica/math/statistic/range.py
2023-10-05 17:39:56 +03:00

4 lines
95 B
Python

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