public
Created

  • Download Gist
gistfile1.py
Python
1 2 3 4 5 6
In [1]: import numpy
 
In [2]: a = numpy.random.randint(100, size=100)
 
In [3]: ((25 < a) & (a < 100)).sum()
Out[3]: 72

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.