def spread(iterable):
    if len(iterable) == 1:
        return 0
    iterable = iterable.copy()
    iterable.sort()
    max_diff = max(abs(i - j) for (i, j) in zip(iterable[1:], iterable[:-1]))
    return max_diff