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: [-69, -49, -17, 89, 40, -5, -100, -27, -25, -84, 70, -50, 48, 67, -44]
Student:
[-59.0, -33.0, 36.0, 64.5, 17.5, -52.5, -63.5, -26.0, -54.5, -7.0, 10.0, -1.0, 57.5, 11.5]