[BangPypers] which is better solution of the question

Srijayanth Sridhar srijayanth at gmail.com
Wed Jun 17 15:44:39 CEST 2009


On Wed, Jun 17, 2009 at 7:11 PM, Anand Chitipothu <anandology at gmail.com>wrote:

> >  If you don't like s[::-1], then the closest would be
> > ''.join([item for item in reversed(s)]), but that ain't close enough :)
>

I don't hate it enough to not use it. I am just saying it from a perspective
of readability I suppose. Coming from Ruby you get used to string methods(or
for that matter Java)

Jayanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/bangpypers/attachments/20090617/b5f22814/attachment.htm>


More information about the BangPypers mailing list