Q: 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].
[-70, -40, -45, -71, -88, 53, -70, 71, -17, -43, -53, 75, -98, 67, -65]
A:
[-55.0, -42.5, -58.0, -79.5, -17.5, -8.5, 0.5, 27.0, -30.0, -48.0, 11.0, -11.5, -15.5, 1.0]