compound conditional statements

beliavsky at beliavsky at
Mon Sep 15 23:31:06 CEST 2003

If I have code 

if (aa or bb): print "true", 

does Python evaluate aa and bb in any particular order? Can I assume that if 
aa is true, bb will not be evaluated?

More information about the Python-list mailing list