This is the problem of these stupid star imports:
from numpy import *
ll = [ 0, 8, 4, 12, 2, 10, 6, 14, 1, 9, 5, 13, 3, 11, 7, 15 ]
all(b >= a for a, b in zip(ll, ll[1:]) )
Python allworks great.
You can access it through the module __builtin__in the python2 module and builtinsin python3:
import __builtin__
__builtin__.all(b >= a for a, b in zip(ll, ll[1:]))
source
share