In Python 2.7.1,
I import the random module.
when I call randint() however, I get the error:
ValueError: empty range for randrange() (1,1, 0)
This error is caused by an error in the random.py module itself.
I don't know how to fix it, not does reinstalling python help. I can't change versions.
can someone please give me code for a working module or tell me what to do?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…