abs
(x)-
Return the absolute value of a number. The argument may be a plain or long integer or a floating point number. If the argument is a complex number, its magnitude is returned.
all
(iterable)-
Return
True
if all elements of the iterable are true (or if the iterable is empty). Equivalent to:
def all(iterable): for element in iterable: if not element: return False return True
any
(iterable)
Return True
if any element of the iterable is true. If the iterable is empty, return False
. Equivalent to:
def any(iterable): for element in iterable: if element: return True return False
。。。。。。。。。。。。。。。
详细见python文档,https://docs.python.org/2/library/functions.html