Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
@ISO497 no worries ;) and congrats on solving!
Hi - as this is a quite "easy" 3 kyu, it's not fair to give you complete detailled explanation; but here is a hint to help you debug:
currently in the example tests there is exactly 1 puzzle and 1 solution, and 1 test:
test.assert_equals(sudoku(puzzle), solution, "Incorrect solution for the following puzzle: " + str(puzzle))
What you should do is copy the exact puzzle and solution and test and rename them
puzzle2
solution2
and therefore add the 2nd test:test.assert_equals(sudoku(puzzle2), solution2, "Incorrect solution for the following puzzle: " + str(puzzle2))
You now have 2 tests, that are running on the "same" inputs, one after the other. You will notice that, despite both tests being identical, your code fails on the 2nd test. Up to you to find out why ;)