Reverse String In Python Using Loops