rtilley a écrit :
> 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?

print 'some_random_string'[::-1]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to