本文共 292 字,大约阅读时间需要 1 分钟。
1、运算的优先级为:() > not > and > or;
2、'and'运算符:
3、'or'运算符:
4、逻辑短路:
5、布尔值为假的十种情况:
1)、02)、0.03)、False4)、""5)、()6)、[]7)、set()8)、{}9)、0j10)、None
转载地址:http://mknuz.baihongyu.com/