源代码
mylist = [0, 1, 1] x = all(mylist) print(x) # Returns False because 0 is the same as False
运行结果