Instructions: 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: [24, 58, 25, 49, -7, -52, 11, 66, -8, -11, -63, 61, 20, -46]
Output:
[41.0, 41.5, 37.0, 21.0, -29.5, -20.5, 38.5, 29.0, -9.5, -37.0, -1.0, 40.5, -13.0]