Feb-21-2018, 04:27 PM
*
take function argument and expands it into actual positional arguments in the function call.def bar(seq, a=None, b=None): print(seq, a, b) >>> bar([1, 2, 3]) [1, 2, 3] None None >>> bar(*[1, 2, 3]) 1 2 3
itertools and chain
|
|
Messages In This Thread |
itertools and chain - by mp3909 - Feb-21-2018, 12:21 PM
RE: itertools and chain - by Larz60+ - Feb-21-2018, 01:56 PM
RE: itertools and chain - by snippsat - Feb-21-2018, 04:27 PM
|