stone = [[0, 0, 0, 0, 0, 0, 0, 0, 0 ],\ [0, 1, 0, 1, 2, 1, 2, 1, 0 ],\ [0, 2, 1, 1, 1, 2, 2, 0, 0 ],\ [0, 0, 2, 2, 2, 1, 0, 2, 0 ],\ [0, 0, 0, 0, 0, 1, 0, 2, 1 ],\ [0, 0, 0, 2, 0, 1, 2, 1, 0 ],\ [0, 0, 0, 2, 1, 0, 1, 1, 0 ],\ [0, 0, 0, 1, 1, 0, 0, 0, 0 ],\ [0, 0, 0, 0, 2, 2, 2, 0, 0 ]] num_black = 0 num_white = 0 for i in range(len(stone)) : for j in range(len(stone[i])) : if stone[i][j] == 1 : ..