def calc_deltas(numbers) -> list:
    """Calculate the delta between each point and the next."""
    deltas = list()
    for n in range(len(numbers) - 1):
        d = numbers[n + 1] - numbers[n]
        deltas.append(d)
    return deltas