rtilley <[EMAIL PROTECTED]> writes:
> s = list('some_random_string')
> print s
> s.reverse()
> print s
> s = ''.join(s)
> print s
> 
> Surely there's a better way to do this, right?

In Python 2.4, just say
  s = reversed('some_random_string')
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to