[Tutor] Built In Functions
spir
denis.spir at gmail.com
Wed Dec 18 12:14:04 CET 2013
On 12/17/2013 11:30 PM, Dave Angel wrote:
> On Wed, 18 Dec 2013 02:39:43 +1100, Steven D'Aprano <steve at 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):
I saw the missing paren at once (maybe a few months progr lisp and a few others
scheme helped, here ;-), but completely missed this one you caught!
Denis
More information about the Tutor
mailing list