📅  最后修改于: 2022-03-11 15:05:21.261000             🧑  作者: Mango
>>> import random
>>> random.randrange(0, 0)
Traceback (most recent call last):
File "", line 1, in
File "/Users/mj/Development/Libraries/buildout.python/parts/opt/lib/python2.7/random.py", line 217, in randrange
raise ValueError, "empty range for randrange() (%d,%d, %d)" % (istart, istop, width)
ValueError: empty range for randrange() (0,0, 0)