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.
one trip to the python documentation can save you a lot of lines
nice solution
This comment is hidden because it contains spoiler information about the solution
I tried solving this but random tests just keeps getting execution time-out. but this solution should work on all numbers.
Just remove the little cheat on n > 1000. It is just so that i could pass the random tests.
This comment is hidden because it contains spoiler information about the solution
we should have a downvote menu
is loop not yet invented with this guy?
you should update your test cases up to year 10 ** 10000
how to be not pythonic at all