Is every number in a list in a range?

Steven W. Orr steveo at syslang.net
Mon Mar 5 14:03:50 EST 2007


I have a list ll of intergers. I want to see if each number in ll is 
within the range of 0..maxnum

I can write it but I was wondering if there's a better way to do it?

TIA

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net



More information about the Python-list mailing list