Reverse In Python Using Loop