[Tutor] Boolean question

Alan Gauld alan.gauld at btinternet.com
Wed Mar 16 23:37:13 CET 2011

"Donald Bedsole" <drbedsole at gmail.com> wrote
> The first argument was "True", so "True" was returned and negated by
> the "not" with a final result of "False" for the expression.
> Is this correct?

Yes. Its called Short Circuit Evaluation.
You will find an explanation on the Functional Programming topic
of my tutor


Alan Gauld
Author of the Learn to Program web site

More information about the Tutor mailing list