Noob questions about Python

Stargaming stargaming at gmail.com
Thu Oct 18 15:00:16 CEST 2007


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'.



More information about the Python-list mailing list