Method For Reversing String In Python