ド・モルガンの法則

条件文で使用して、
ここに画像の説明を挿入
すべてまたはまったく判断できません

(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))

おすすめ

転載: blog.csdn.net/qq_42648305/article/details/111922736