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.
No, very bad practice.
In case of error the function should raise (or propagate) an exception, not return a string.
If it fails the tests, then usually that just means there's a logic error in the code. This task is about returning the length of the repeated subsection of the sequence. Your solution is missing a tiny modification in a single place to pass all tests.
https://docs.python.org/3/reference/import.html
This comment is hidden because it contains spoiler information about the solution
?
This comment is hidden because it contains spoiler information about the solution