python_math_stat/practica/math/statistic/Statistic_tasks/range.py
2023-10-05 18:10:40 +03:00

4 lines
95 B
Python

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