Ad

You will be given a list of at least three you're to split into two parts if there is an even number of items, split into equal parts, if not split into two parts with one having only one item than the other. They must be in the same arrangement as they were given to you

def split(arr):
    arr = arr[::-1]
    return [arr.pop() for x in range(len(arr)//2)], [item for item in arr][::-1]