fpfcarvalho Posted May 26, 2008 at 01:39 PM Report Share #187569 Posted May 26, 2008 at 01:39 PM (defun bloco (sudoku x y) (loop repeat 3 for x from (* 3 (floor x 3)) append (loop repeat 3 for y from (* 3 (floor y 3)) collect (aref sudoku y x)))) Nesta função, define-se a função bloco do sudoku. Gostaria que me alguem explicasse melhor aquele ciclo "loop", mais concretamente o que faz o "(* 3(floor x 3))". Aguardo respostas. 😉 Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now