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: [-27, 83, -67, 51, -57, -18, -59, 85, -84, 68, 16, 61]
Student:
[28.0, 8.0, -8.0, -3.0, -37.5, -38.5, 13.0, 0.5, -8.0, 42.0, 38.5]