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.
case 1: return "1!/0!";
For this purpose string formatting was introduced
This comment is hidden because it contains spoiler information about the solution
yeah, double negative
genius! thank you!
Old katas tend to have skewed difficulties
that`s some next level stuff
Mathematically, it the same, but sometimes, we lose sense with over-refactoring.
Yeah could have simplified even more like that, to me kata 7 you could make it straightforward and easy to read. If you interested on golf solution, yes, we could use this or even better came out with an equation for the number lines.
Anyways, thanks for the note, Hope keep it here for future reference.
You can use lambda.
This is the specification decided by the author, though it is not best practice and has not been corrected accordingly during beta phase, hence it is too late to enforce such changes since it will invalidate all solutions in 20++ languages
is genius bro
This comment is hidden because it contains spoiler information about the solution
It's Python list comprehension. Make a research about it if you don't know it. For the rest, take a pencil and a paper with a small example and try to figure out what the code does.
can anybody explain this code? It looks easy to the eye but hard to understand it
Loading more items...