This kata is all about adding numbers.

You will create a function named add. It will return the sum of all the arguments. Sounds easy, doesn't it?

Well Here's the Twist. The inputs will gradually decrease with their index as parameter to the function.

```python
  add(3,4,6) #returns (3/1)+(4/2)+(6/3)=7
```

Remember the function will return 0 if no arguments are passed and it must round the result if sum is a float.

Example
```python
  add() #=> 0
  add(1,2,3) #=> 3
  add(1,4,-6,20) #=> 6
```

Check my another kata here!! http://www.codewars.com/kata/555b73a81a6285b6ce000047

Difficulty: introductory

Starter code:

def add(*args):
	

Solutions:
def add(*args):
    return int(round(sum(float(a) / i for (i, a) in enumerate(args, 1))))

def add(*args):
    return round(sum(x / i for i, x in enumerate(args, 1)))


add = lambda *a: round(sum(e/i for i,e in enumerate(a,1)))

def add(*args):  
    return round(sum([args[i]/(i + 1) for i in range(len(args))]))


def add(*args):
  return round(sum( v / i for i, v in enumerate(args, 1) ))

def add(*args):
    return round(sum(x/(c+1) for c,x in enumerate(args)))

def add(*args):
    return round(sum(value / pos for pos, value in enumerate(args, 1)))


def add(*args):
    return round(sum(1.0 * n / i for i, n in enumerate(args, 1)))

def add(*args):
    sum = 0
    for idx, num in enumerate(args):
        sum += (num/(idx+1.0))
    return round(sum)
    #your code here


def add(*args):
    return round(sum(args[i]/(i+1) for i in range(len(args))))