testing array of logicals

John Henry john106henry at hotmail.com
Wed Jul 12 14:14:43 EDT 2006


Hi list,

Is there a more elagant way of doing this?

# logflags is an array of logicals
test=True
for x in logflags:
   test = test and x
print test

--
Thanks,




More information about the Python-list mailing list