> Er, I don't think you thought that one entirely through (/ tried it out):
>
>
My Apologies.

Here is a working one.

 >>> x="123"
>>> t = list(x)
>>> t.reverse()
>>> print ''.join(t)
321


But of course, the method which was suggested earlier is far more elegant.

>>> print ''.join(reversed(list(x)))

Cheers!
Zubin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to