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: [27, -67, -92, -82, -17, 3, -92, 42, -33, 7, 62, 19, 68, 63, -3]
Output:
[-20.0, -79.5, -87.0, -49.5, -7.0, -44.5, -25.0, 4.5, -13.0, 34.5, 40.5, 43.5, 65.5, 30.0]