Python Love :)

gregarican greg.kujawa at gmail.com
Mon Mar 13 13:49:51 EST 2006


Paul Rubin wrote:

> Darn, yes, that's the second time in the past couple weeks I've made
> that exact same error in a clpy post.  So what's the most concise way
> of turning it back into a string?  ''.join(list(reversed(a_string))) ?
> Bleccch. 

Use Ruby:

print "A String".reverse

Just kidding :-)~




More information about the Python-list mailing list