摘要: 1.在没有()的情况下,not的优先级高于and,and的优先级高于or,即优先级关系为() not and or,同一优先级从左往右计算。 例题,判断下列逻辑语句的结果: Python 8 or 4 0 and 3 0 or 4 and 3 or 7 or 9 and 6 Python print 阅读全文
posted @ 2018-08-28 09:49 _杨魏 阅读(196) 评论(0) 推荐(0)