String Reversing Method In Python