numpy.random.randint — NumPy v1.22 Manual
numpy.org › generated › numpynumpy.random.randint¶ random. randint (low, high = None, size = None, dtype = int) ¶ Return random integers from low (inclusive) to high (exclusive). Return random integers from the “discrete uniform” distribution of the specified dtype in the “half-open” interval [low, high). If high is None (the default), then results are from [0, low).