[Tutor] finding numbers in range of of numbers

Srinivas Iyyer srini_iyyer_bio at yahoo.com
Tue Oct 21 00:19:37 CEST 2008


dear group, 
a simple question that often challenges me. 

I have 

I have a list of list:

[[10,45],[14,23],[39,73],[92,135]]

I want to identify if any of the items in this list are in range of [5,100]

These numbers are large in original data, I will be using xrange for memory issues. 

 thank you. 
srini

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Tutor mailing list