This beautiful construction was not obvious for me.
>>> 'foo'[::-1]
'oof'
This entry was posted
by olpa on Monday, October 15th, 2007 at 11:51 am and is filed under python.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.