📜  python all any example - Python代码示例

📅  最后修改于: 2022-03-11 14:46:01.799000             🧑  作者: Mango

代码示例2
if true and true and true and true: none
if all ([true, true, true, true]): none

if true or true or true or true or true: none
if any ([true, true, true, true, true]): none