Is every number in a list in a range?

Steven W. Orr steveo at
Mon Mar 5 20:03:50 CET 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?


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

More information about the Python-list mailing list