Thursday, September 10, 2015

Simple demonstration of *argc

def sumall(*argc):
    sum=0
    for i in argc:
        sum=sum + i
    return sum
   
print sumall(1,2,3)