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.
by default will return None nice
Approved! Thank you.
Approved! Thank you.
JS translation
I am able to complete all of the tests but the last one, under the sun. that one continues to time out no matter what I try. I dont want to post any code but I cannot figure out how to continue
Haskell translation
Thanks! Approved
Thank you for pointing this out. I updated the Python and JS tests to use a=1 instead of a=0.
Yes, also Python. Author should decide whether to change description or last test case.
( JS, possibly Python )
breaks this by setting
a = 0
Haskell translation
yw
Thanks! Approved
Very elegant! Performance probably doesn't matter for this case, and the comparison to ordering relationship is cristal clear.
The comment above the return statement is part of the source code. I use the built-in inspect package to get the source code of the current script as a string and return the contents of the comment.
Loading more items...