In this challenge, you are given a list and in turn, you must obtain a smaller list, following three steps:
Given a list of integers lst, implement a function that returns a new list applying the above algorithm.
antipodes_average([1, 2, 3, 4]) ➞ [2.5, 2.5]
# Left part = [1, 2]
# Reversed right part = [4, 3]
# List resulting from the sum of each pair = [5, 5]
# Each number is divided by two = [2.5, 2.5]
antipodes_average([1, 2, 3, 4, 5]) ➞ [3, 3]
# The length of list is odd, number 3 (in the middle) is eliminated
# Left = [1, 2]
# Reversed right = [5, 4]
# Sum = [6, 6]
# Division by two = [3, 3]
antipodes_average([-1, -2]) ➞ [-1.5]
# (-1 + -2) / 2 = [-1.5]
lst will contain at least two numbers.lst, numbers will always be whole (either positives or negatives), but the numbers into the returned final list can also be a float (either positives or negatives, see the examples #1 and #3).