"Eduardo Vieira" <eduardo.su...@gmail.com> wrote
Like in the IDLE 2 and 4 and 0 Result: 0
Ah! Now I see. Its the results of short-circuit evaluation you want a nmemonic for, not the and/or logic itself
I agree thats much harder to figure out, you do kind of have to work through the tests until the first failure
for and or the first success for or. It might be cute to have an aide d'memoire for that. -- Alan Gauld Author of the Learn to Program web site http://www.alan-g.me.uk/ _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor