Reverse String Using Lambda Python If Statement