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].
[-85, 11, -88, -56, 12, -53, -22, 90, -9, 72, 12, 98, 87, -48]
A:
[-37.0, -38.5, -72.0, -22.0, -20.5, -37.5, 34.0, 40.5, 31.5, 42.0, 55.0, 92.5, 19.5]