Python中 or、and 的优先级

 

 上式可以看出  先看 and 输出才为 ture

因此  优先级 and>or

posted @ 2022-02-25 12:36  故y  阅读(415)  评论(0)    收藏  举报