主页
Python
Python all() 函数
demo_ref_all_tuple
运行 ❯
×
更改方向
保存代码
更改主题
mytuple = (0, True, False) x = all(mytuple) print(x) # Returns False because both the first and the third items are False
False