[Tutor] Can you tell me whats wrong with this code?
Amadeo Bellotti
amadeo.bellotti at gmail.com
Thu Aug 31 01:37:47 CEST 2006
first of all i have random.randint imported as rand like this:
from random import randint as rand
it is giving me an error at the line
space = rand(1,82)
the error its giving me is
Traceback (most recent call last):
File "sudoku.py", line 1050, in ?
space = rand(1,82)
TypeError: 'int' object is not callable
what is wrong with the line i have no clue i spent an hour looking it up
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060830/997c834d/attachment.html
More information about the Tutor
mailing list