On Wed, 18 Dec 2013 02:39:43 +1100, Steven D'Aprano <[email protected]> wrote:
    if a > 0 and b > 0 and c > 0:
    if all(x for x in (a, b, c):

Er, perhaps it should be:

if all (x> 0 for x in (a, b, c):

--
DaveA

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to