可用于条件语句中
判断 均有 or 均无
(bool(a and b and c) or not bool(a or b or c))
# 均无的话是true
not bool(a or b or c) == not(bool(a)) and not(bool(b)) and not(bool(c))
可用于条件语句中
判断 均有 or 均无
(bool(a and b and c) or not bool(a or b or c))
# 均无的话是true
not bool(a or b or c) == not(bool(a)) and not(bool(b)) and not(bool(c))