[BangPypers] which is better solution of the question

Anand Chitipothu anandology at gmail.com
Wed Jun 17 15:41:39 CEST 2009


>  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 :)

No, the closest would be
"".join(reversed(s))


More information about the BangPypers mailing list