>>> np.random.randint(0,0) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "mtrand.pyx", line 747, in numpy.random.mtrand.RandomState.randint File "_bounded_integers.pyx", line 1270, in numpy.random._bounded_integers._rand_int64 ValueError: low >= high