<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def spread(iterable):
 """Returns the maximal spread of a sorted list of numbers. Parameters iterable A list of numbers. Returns ------- max_diff The maximal difference when the iterable is sorted. Examples ------- 10 10 """

    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