On Fri, Jun 18, 2021 at 3:43 AM Stephen J. Turnbull
<[email protected]> wrote:
>
> Chris Angelico writes:
>
>  > Insufficiently trolly - lacks walrus operator. :)
>  >
>  > >>> l = [[1,2],[3,4],[5,6],[7,8],[9]]
>  > >>> any(map((x:=[]).extend, l)) or x
>  > [1, 2, 3, 4, 5, 6, 7, 8, 9]
>  >
>  > ChrisA
>
> This you?
> https://mobile.twitter.com/Tr0llyTr0llFace/photo
> :-)

Wow! That's an actual photograph of me, wearing a monocle!

ChrisA
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/S4EWNYB7C3FUSRI7LMARRPIORAU5YE3W/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to