逻辑运算中,AND优先级高于OR。
下表的优先级是从低到高:
https://docs.python.org/2.7/reference/expressions.html?highlight=boolean
运算符优先级
原文:http://www.cnblogs.com/freshair_cnblog/p/7802914.html