元素除了是0、空、FALSE 外都算TRUE。 函数等价于: def any(iterable): for element in iterable: if element: return True return False. Python 2.5 以上版本 ...
確定! 回上一頁