Random integer without a maximum range

71 Views Asked by At

I was wondering how I can return a random integer with the range of 0 to infinity. Rather, I was wondering if it is even possible to do without crashing Python. Is there a way to do it with the randint() function or the randrange() function? I could not figure it out because both of these require a maximum range.

0

There are 0 best solutions below