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: [36, -95, 9, 86, 83, 92, 62, -36, 87, -34, 22, -17, 71, -96, -59]
Output:
[-29.5, -43.0, 47.5, 84.5, 87.5, 77.0, 13.0, 25.5, 26.5, -6.0, 2.5, 27.0, -12.5, -77.5]