python的any()函数 any()函数的参数是一个可迭代对象,其中的一个元素有一个为真,则any()函数返回真,除非全部为假的时候才返回假。 aaa=[0,0,0,0] print(any(aaa)) 返回:false