how find values in an array that meet two conditions using python,numpy.nonzero((a > 3) & (a < 8))