Reversing String In Python Using For Loop