def sum(*args):
    """ Function returns the sum of all values """
    r = 0

    for i in args:
        r += i

    return r


print(sum.__doc__)
print(sum(1, 2, 3))
print(sum(1, 2, 3, 4, 5, 6, 7, 8, 9))
