Is There A Reverse Function In Python