@author jackzhenguo @desc @date 2019/2/15
Python支持这种连续不等比较,写起来更方便
i = 3 print(1 < i < 3) # False print(1 < i <= 3) # True