Dave Hansen wrote: > How about > > s = "some random string" > print s > s = s[::-1] > print s That looks like Perl, but it works. Makes me wonder with the string module doesn't have a reverse or invert function?