Jun-12-2017, 04:53 PM
In both Pythons 2 & 3, the convenient shortcut notation:
a<x<bworks great. That is, the expression returns TRUE if x is greater than a and less than b.