On Tue, Dec 17, 2013 at 05:30:00PM -0500, Dave Angel wrote: > On Wed, 18 Dec 2013 02:39:43 +1100, Steven D'Aprano > <st...@pearwood.info> 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):
Oops, yes, thanks for the correction. Er, I mean, yes, you have found my deliberate mistake and passed the test! *wink* -- Steven _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor