analitics

Pages

Showing posts with label reverse. Show all posts
Showing posts with label reverse. Show all posts

Saturday, March 2, 2013

Simple way to reverse strings

Just see the next source code:

>>> text='0123456789'
>>> reverse_text=text[::-1]
>>> print reverse_text
9876543210
>>>