Reverse A String Using Function In Python