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.
Yes, I think you guessed right. If
f
is an empty filter object (list(f) == []
), then in Python 3bool(f)
returnsTrue
which is why you do not get what you expected.This comment is hidden because it contains spoiler information about the solution
Third line checks if there are any columns, rows or blocks which are not a set of numbers from 1 to 9.
Second line helps define blocks.
Does this help you? You can ask more specific questions if you are missing something.
the %s are placeholders
the string is formatted by replacing the placeholders with the corresponding values from the tupel.
Actually, that was the
sample
tests. Here is something for the firstfixed
test:and okay, why not, here is the entire first set of fixed tests:
Hi, the breakdown for this test is found in the kata description:
Hope that helps, best of luck!