虽然脱离了码农行列,但是觉得写代码这个技能,每个人都应该会一点,而且最近突然有兴趣学习起python,恰好朋友提到codewar以打怪练级的形式来刷题熟练技能,于是就去玩了,感觉这种方式确实比较有成就感,而且不同等级对应不同难度,刚好适合我这种新手学习。为了能有所成长,就决定写写笔记,把想法和心得记录一番,希望能坚持和有所提高(虽然之前的学习计划都坑掉了。。
目前的等级是6(数字越低等级越高,最初是8级),抽到的题目难度基本在区间6和5之间,这次遇到的是难度5的题目
题目:
Write a function done_or_not passing a board (list[list_lines]) as parameter. If the board is valid return 'Finished!', otherwise return 'Try again!'
Sudoku rules:
Complete the Sudoku puzzle so that each and every row, column, and region contains the numbers one through nine only once.
Rows:
There are 9 rows in a traditional Sudoku puzzle. Every row must contain the numbers 1, 2, 3, 4, 5, 6, 7, 8, and 9. There may not be