Most of us know that the command random.randint(1,n) in Python (2.X.X) would generate a number in random (pseudo-random) between 1 and n. I am interested in knowing what is the upper limit for n ?
Most of us know that the command random.randint(1,n) in Python (2.X.X) would generate a
Share
randint()works with long integers, so there is no upper limit: