本项目使用Python实现,仅使用了copy模块和time模块,代码中大量应用了for循环、if条件判断、列表(list)方法和递归,适合Python初学者巩固Python基础;
在config文件中根据数独题目,更新数独列表的值;然后执行soduku.py,就会输出该数独题目对应的答案; 对于初学者可以查看知乎专栏学习https://zhuanlan.zhihu.com/c_1139901563622494208
This project is based on Python , and I used no modules other than copy and time. The code use a lot of Basic knowledge of Python such as for cycle , if , list method and Recursive . It seems that this project can help Python beginner pratise Basic knowledge of Python.
You can input Soduku Puzzle infomation in config.py , then run soduku.py and the answer will be outputed.