随笔分类 -  Python

摘要: 阅读全文
posted @ 2019-06-04 11:27 Zachary' 阅读(214) 评论(0) 推荐(0)
摘要:‘and’、‘or’和‘not’的优先级 ‘and’、‘or’和‘not’的优先级是not and or 其次,逻辑操作符and 和or 也称作短路操作符(short circuitlogic)或者惰性求值(lazy evaluation):它们的参数从左向右解析,一旦结果可以确定就停止。例如,如果 阅读全文
posted @ 2019-05-31 10:13 Zachary' 阅读(152) 评论(0) 推荐(0)