Right now, I have the function for a board written out:
def board(canvas, width, height, n):
for row in range(n+1):
for col in range(n+1):
canvas.create_rectangle(row*height/n,col*width/n,(row+1)*height/n,(col+1)*width/n,width=1,fill='white',outline='green')
How do I make an array of integers that corresponds to this board, with every integer initialized as "bad"?