rick wrote:

> The Ruby approach makes sense to me as a human being.

do the humans on your planet spend a lot of time reversing strings? 
it's definitely not a very common thing to do over here.

anyway, if you do this a lot, why not define a helper function?

     def reverse(s):
         return s[::-1]

     print reverse("redael ruoy ot em ekat")

</F>

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

Reply via email to