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'. -- http://mail.python.org/mailman/listinfo/python-list