摘要: 优先级:not > and > or 1、not与紧跟其后的那个条件是不可分割的2、如果条件语句全部由纯and、或纯or链接,按照从左到右的顺序依次计算即可 print(True and 10 > 3 and not 4 < 3 and 1 == 1) print(False or 10 < 3 o 阅读全文
posted @ 2020-02-22 13:25 耗油炒白菜 阅读(3964) 评论(0) 推荐(0)