invert or reverse a string... warning this is a rant
egbert
egbert.bouwman at hccnet.nl
Fri Oct 20 09:25:55 EDT 2006
> > John Salerno wrote:
> >> I'm not steeped enough in daily programming to argue that it isn't
> >> necessary, but my question is why do you need to reverse strings? Is it
> >> something that happens often enough to warrant a method for it?
String reversal comes in handy when you do palindromes.
--
Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991
========================================================================
More information about the Python-list
mailing list