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