String Reverse In Python Using Function