Reputation: 329
So I create an axb matrix with this function:
but I'm getting an error that's saying that my values are out of range. Is it because I use two equal signs instead of 1? Thanks
Upvotes: 1
Views: 69
Reputation: 1785
board[row_index][col_index] == [val, False]
should be
board[row_index][col_index] = [val, False]
Upvotes: 2