<filename>arcade/intro/c. 20. array-maximal-adjacent-difference/array_maximal_adjacent_difference.py
def arrayMaximalAdjacentDifference(inputArray):
    k = inputArray[:]
    return max([abs(k[i]-k[i - 1]) for i in range(1, len(k))])

<filename>arcade/intro/c. 20. array-maximal-adjacent-difference/array_maximal_adjacent_difference.py
def arrayMaximalAdjacentDifference(inputArray):
    k = inputArray[:]
    return max([abs(k[i]-k[i - 1]) for i in range(1, len(k))])
