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?
randommodule is at the bottom of the stacktrace, it doesn't have to have caused the error (in fact, that's it's unlikely). As already said, post your code (including stacktrace). - user395760