Definition: In this task you are given a list of numbers and you need to find the average of each two consecutive values. The average of two numbers a and b is calculated as: (a + b) /2. The output should be a list of the averages of each two consecutive values. A list is presented with two brackets and comma-separated values, like: [1,2,3].
Input: [-62, 57, 34, -45, 99, 47, -72, 79, 60, 39, 6, -25, 60, -24, 18]
Output:
[-2.5, 45.5, -5.5, 27.0, 73.0, -12.5, 3.5, 69.5, 49.5, 22.5, -9.5, 17.5, 18.0, -3.0]