On 09/01/13 06:56, ken brockman wrote:
1 and 2 and 3 answer 3 I've goggled it till i was red in the fingers, but to no avail.. Could someone be kind enuff to direct me to some docs that explain this?? I've no clue what the hell is going on here..
Its to do with the way Python evaluates booleans using short circuit evaluation.
There is a short section in my tutorial under the "Functional Propgramming" topic, in the 'other contructs heading about half way down.
HTH, -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor