Function Argument Unpacking

Putting a * operator before a tuple, list or generator, in a function call will unpack it and pass its elements as separate positional arguments to the called function. Similarly, the ** operator will unpack keyword arguments from dictionaries and pass them to the called function. Another example: You may need to unpack specific values […]