Given a list of integers, return a new list where each element at an even index is replaced by the average of the element and its preceding element.
[3, 6, 8, 2, 10, 7]
[3.0, 6.0, 7.0, 5.0, 10.0, 7.0]
Bot