Teacher: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].
Teacher: Now, understand the problem? Solve this instance: [-77, -43, -87, -68, -14, 58, -39, 32, 27, 52, 92, 4, -5, 3]
Student:
[-60.0, -65.0, -77.5, -41.0, 22.0, 9.5, -3.5, 29.5, 39.5, 72.0, 48.0, -0.5, -1.0]