Asif Jamadar <asif.jama...@rezayat.net> 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 result being within range. 

if min <= result <= max:
   within_range()

Negating that

if not min <= result <= max:
   without_range()

will check if the value is without.


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

Smoking is the leading cause of statistics.
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to