*Inspired by the [Fold an Array](https://www.codewars.com/kata/fold-an-array) kata. This one is sort of similar but a little different.*
---
## Task
You will receive an array as parameter that contains 1 or more integers and a number `n`.
Here is a little visualization of the process:
* Step 1: Split the array in two:
```
  [1, 2, 5, 7, 2, 3, 5, 7, 8]
        /            \
[1, 2, 5, 7]    [2, 3, 5, 7, 8]
```
* Step 2: Put the arrays on top of each other:
```
     [1, 2, 5, 7]
[2, 3, 5, 7, 8]
```
* Step 3: Add them together:
```
[2, 4, 7, 12, 15]
```
Repeat the above steps `n` times or until there is only one number left, and then return the array.
## Example
```
Input: arr=[4, 2, 5, 3, 2, 5, 7], n=2
Round 1
-------
step 1: [4, 2, 5]  [3, 2, 5, 7]
step 2:    [4, 2, 5]
        [3, 2, 5, 7]
step 3: [3, 6, 7, 12]
Round 2
-------
step 1: [3, 6]  [7, 12]
step 2:  [3,  6]
         [7, 12]
step 3: [10, 18]
Result: [10, 18]
```
def split_and_add(arr, n):
    for _ in range(n):
        half = len(arr) // 2
        arr = [a+b for a, b in zip([0] * (len(arr)%2) + arr[:half], arr[half:])]
    
    return arr
def split_and_add(arr, n):
    for _ in range(n):
        half = len(arr) // 2
        arr = [a+b for a, b in zip([0] * (len(arr)%2) + arr[:half], arr[half:])]
    
    return arr