Noob questions about Python

Bruno Desthuilliers bruno.42.desthuilliers at
Thu Oct 18 15:29:59 CEST 2007

Stargaming a écrit :
> On Wed, 17 Oct 2007 22:05:36 +0200, Bruno Desthuilliers wrote:
> [snip]
>> Note that there's also the reverse() function that returns a reverse
>> iterator over any sequence, so you could also do:
>> li = list('allo')
>> print ''.join(reverse(li))
> Note this certainly should've been `reversed()`, with a trailing 'd'.

2-0 for Stargaming. I'll have to either change glasses, buy a new 
keyboard (this one is obviously broken), or learn to both use a keyboard 
and re-read what I post.

More information about the Python-list mailing list