逻辑运算中,AND优先级高于OR。
下表的优先级是从低到高:
https://docs.python.org/2.7/reference/expressions.html?highlight=boolean