(Mar-28-2020, 08:34 AM)PUP280 Wrote: Can you give me an explanation with it please ?
This is nested list comprehension combined with iterable unpacking.
Documentation > The Python Tutorial > Data Structures > 5. More on Lists > 5.1.3. List Comprehensions
Documentation > The Python Language Reference > 6. Expressions > 6.15. Expression Lists
PEP448 - Additional Unpacking Generalizations
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.