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.
This comment is hidden because it contains spoiler information about the solution
Sorry, I thought it would be visible only to those who have already completed the kata. Will flag properly in the future!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
You can use
print(n)
to log the test valuesCan I see an example of Difficult Random Test 1?
I was wondering the same thing...
it's because your code is not efficient enough, i.e. it takes too much time to execute.
in Python, "for" loops must be avoided as much as possible: use built-in functions or list comprehensions whenever possible