python运算符

python运算符

空串、None、0还有一些表示空性值的会转换为False,其余全部都是True. 逻辑与都为True时为True,如果有一个False 就是False a=True and True 得True b=True and False
Python170