Re: [BangPypers] if not with comparision statement in python

2011-07-30 Thread Noufal Ibrahim
Asif Jamadar writes: > What if I have two lists for both minimum and maximum values > > Minimum Maximum > 0 10 > 1120 > 2130 > 3140 > > > Now how should I check if actual result is not laying between above ranges > > if not minimum<=act

[BangPypers] if not with comparision statement in python

2011-07-30 Thread Asif Jamadar
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

Re: [BangPypers] if not with comparision statement in python

2011-07-30 Thread Navin Kabra
On Sat, Jul 30, 2011 at 1:13 PM, Asif Jamadar wrote: > if not minimum<=actual_result and  not maximum>=actual_result: > > How to check if actual result is not laying between minimum value and maximum > value. if not minimum <= actual_result <= maximum: ___

Re: [BangPypers] if not with comparision statement in python

2011-07-30 Thread Noufal Ibrahim
Asif Jamadar writes: > if not minimum<=actual_result and not maximum>=actual_result: > > > How to check if actual result is not laying between minimum value and maximum > value. > > how should I represent the above statement in python? > > Any suggestions? [...] The following will check for r

[BangPypers] if not with comparision statement in python

2011-07-30 Thread Asif Jamadar
if not minimum<=actual_result and not maximum>=actual_result: How to check if actual result is not laying between minimum value and maximum value. how should I represent the above statement in python? Any suggestions? ___ BangPypers mailing list Ban