Asif Jamadar <asif.jama...@rezayat.net> writes:

> What if I have two lists for both minimum and maximum values
>
> Minimum  Maximum
> 0             10
> 11            20
> 21            30      
> 31            40      
>
>
> Now how should I check if actual result is not laying between above ranges
>
> if not minimum<=actual_result and  not maximum>=actual_result:
>
> Any suggestions?              

[...]

Loop through your list and check for each pair. 

-- 
~noufal
http://nibrahim.net.in

Of course I can keep secrets. It's the people I tell them to that can't keep 
them. -Anthony Haden-Guest
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to