- 博客(1)
- 收藏
- 关注
原创 Python中八皇后问题不能得出答案 求解
chess = [[0 for x in range(8)] for x in range(8)] print(chess) def judgedanger(chess,x,y): if chess[x][y]==0: return True else: return False def setdanger(chess,x,y): for cow in range(len(chess)): for...
2019-08-17 00:21:27
309
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅