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.
Thank you so much! @Ciprian Amza
Sometimes it may happen that your solution times out and you may not see anything printed at all. For such cases, you can add
print(n, flush=True)
and this will force the console to display the information you wanted to see, so it pretty much helps you to debug your code. You can read more here: https://docs.python.org/3/library/functions.html#printWhat is flush=True mean? i mean what does it do?
nice one