主页
Python
Python all() 函数
demo_ref_all2
运行 ❯
×
更改方向
保存代码
更改主题
mylist = [0, 1, 1] x = all(mylist) print(x) # Returns False because 0 is the same as False
False