A curious bit of code...

Emile van Sebille emile at fenx.com
Thu Feb 13 21:55:35 CET 2014


On 2/13/2014 11:59 AM, Zachary Ware wrote:
> In a fit of curiosity, I did some timings:

Snip of lots of TMTOWTDT/TIMTOWTDI/whatever... timed examples :)

But I didn't see this one:

s[::len(s)-1]

Emile








More information about the Python-list mailing list