Make a function **"add"** that will be able to sum elements of **list** continuously and return a new list of sums.
For example: 
```
add [1,2,3,4,5] == [1, 3, 6, 10, 15], because it's calculated like 
this : [1, 1 + 2, 1 + 2 + 3, 1 + 2 + 3 + 4, 1 + 2 + 3 + 4 + 5]
```
If you want to learn more see https://en.wikipedia.org/wiki/Prefix_sum
def add(l):
    try:
        t = [l[0]]
        for i,j in enumerate(l[1:]):
            t.append(t[i]+ j)
        if sum(l)%1!=0 or sum(t)%1!=0 or type(l)!=list:
            return 'Invalid input'
        return t 
    except:
        return 'Invalid input'
def add(l):
    try:
        t = [l[0]]
        for i,j in enumerate(l[1:]):
            t.append(t[i]+ j)
        if sum(l)%1!=0 or sum(t)%1!=0 or type(l)!=list:
            return 'Invalid input'
        return t 
    except:
        return 'Invalid input'