Reverse String In Python Using Loop