Comparison operators in #Python can be chained together, but using them that way could be controversial. I wrote this this other day:
@nedbat I'm a big fan of parentheses for clarity, even when they're technically not needed.
@ehmatthes But parentheses would break the comparison here.