运算符优先级

逻辑运算中,AND优先级高于OR。

下表的优先级是从低到高:

image

https://docs.python.org/2.7/reference/expressions.html?highlight=boolean

posted on 2017-11-08 10:50  freshair_cn  阅读(147)  评论(0编辑  收藏  举报

导航