There are several ways to reverse a string in Python, but one of the easiest and quickest ways is using extended slicing.
>>> a="hello">>> a[::-1]'olleh'>>>