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].
[-15, -42, -77, 1, -39, 20, -15, 35, -73, 37, -95, -49, -39, -89, -100]
A:
[-28.5, -59.5, -38.0, -19.0, -9.5, 2.5, 10.0, -19.0, -18.0, -29.0, -72.0, -44.0, -64.0, -94.5]