Monday, March 21, 2016

Reverse a string in Python

http://stackoverflow.com/questions/931092/reverse-a-string-in-python

I particularly like the very Pythonic [::-1].

No comments: