Part 1. Definition
In this task you are given a list of integers and you need to find the absolute value of the difference between each two consecutive values. The output should be a list of the absolute value of the differences of each two consecutive values.
Part 2. Example
[7, 1, 5, 8, -4]
Answer: [6, 4, 3, 12]
Explanation: The output is a list of the absolute value of the differences of every two consecutive values. So this is a good example.
Part 3. Exercise
[65, 92, -48, 19, -90, -5]
Answer:
[27, 140, 67, 109, 85]