Simplify a comparison

I just found out you can do "if x < y < z:" in Python.