I'm not sure if other languages have it, but I have to say that pycharm is excellent at suggesting chained comparisons to you. I didn't know this existed before I switched IDEs.
if 2 > 3 and 2 < 7
becomes
if 3 < 2 < 7
if 2 > 3 and 2 < 7
becomes
if 3 < 2 < 7