Paul Rubin wrote:
> So what's the most concise way
> of turning it back into a string?  ''.join(list(reversed(a_string))) ?

You don't need the list(), join() can take an iterator:

''.join(reversed(a_string))

Kent
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to