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
I didn't know until now that you can directly join stuff to a string without introducing a variable. you learn something every day ig.
Good
genious
This comment is hidden because it contains spoiler information about the solution
Best practice for pythonist.
Elegant solution for 'if/else 0'. Every time forget about if, however met it several times before.
I dont C/P. I am printed, dude...
this is probably the fastest solution, possibly because it does not use the
**
(square) operator. I compared these top two solutions usingtimeit
Ok, this is genius!
i am ashamed of my solution now....
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This is the py2 habit. Py3 code would be more readable by simply using '/' (without the casting).
Some nasty mistakes I have made though when I forgot to use casting in C++ division.
Loading more items...