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