I am passing list argument to the function. But type of args is always tuple.
I would like to know the specific reason for this behavior?
I would like to know the specific reason for this behavior?
>>> def fun(*args): ... print "type of args :", type(args) ... >>> l=[1,2,3,4] >>> fun(l) type of args : <type 'tuple'>