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: [-47, -33, 100, -10, -58, -35, -61, 20, 82, -53, -7, 16, 27, -33, -50]
Output:
[-40.0, 33.5, 45.0, -34.0, -46.5, -48.0, -20.5, 51.0, 14.5, -30.0, 4.5, 21.5, -3.0, -41.5]