Skip to content
Create a gist now

Instantly share code, notes, and snippets.

In [1]: import numpy
In [2]: a = numpy.random.randint(100, size=100)
In [3]: ((25 < a) & (a < 100)).sum()
Out[3]: 72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.