a question regarding conciseness

Paul Rubin phr-n2002a at nightsong.com
Thu Feb 21 06:50:10 EST 2002


gerson.kurz at t-online.de (Gerson Kurz) writes:
> I found an easier solution:
> 
> sort = lambda x:(x.sort(),x)[1]

Cute!



More information about the Python-list mailing list