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: [-45, 16, -17, 0, -54, 64, -26, -87, -92, -21, -3, -66, -40, -76, -84]
Student:
[-14.5, -0.5, -8.5, -27.0, 5.0, 19.0, -56.5, -89.5, -56.5, -12.0, -34.5, -53.0, -58.0, -80.0]