It is very easy to reverse a string in Python.
Here is a quick example:
"Devx Jan"[::-1] gives "naJ xveD"