[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
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list