The *
operator collects all the extra positional arguments passed to the function into a tuple. We can use this when we don’t know in advance how many arguments are passed into a function.
The *
operator collects all the extra positional arguments passed to the function into a tuple. We can use this when we don’t know in advance how many arguments are passed into a function.