Teacher: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.
Teacher: Now, understand the problem? Solve this instance: [-82, -40, 37, 72, 89, -98, 16, 54]
Student:
[42, 77, 35, 17, 187, 114, 38]