That not all coders may fully understand how these work is why I'm leery of using them to control execution in my code. For instance, I'd use the input function alone and then look at its return value. Chances are I'd want to do more to vet the input anyway.
That not all coders may fully understand how these work is why I'm leery of using them to control execution in my code. For instance, I'd use the input function alone and then look at its return value. Chances are I'd want to do more to vet the input anyway.
I agree. I rarely use them as a shortcut for a simple if..else