File: class/Extras/Other/PriorClasses/schwab-sep12/sumit.py

def sumit(*args):
	sum = args[0]
	for x in args[1:]:
		sum += x
	return sum

if __name__ == '__main__':
    print sumit(1, 2, 3, 4, 5)



[Home page] Books Code Blog Python Author Train Find ©M.Lutz