Is it possible to shorten several layers of 'for in' with actions at each layer?

前端 未结 0 1685
无人及你
无人及你 2020-12-02 22:37

I am solving a Sudoku kata on Codewars and here is my code:

def valid_solution(S):
    s=[];L=[];l=[];S1=S[:3];S2=S[3:6];S3=S[6:]
    def verif(S):
        fo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题