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.
done.
I think using approximate quality is better; my solution should pass but it doesn't
That's another nice approach
Nice solution!
Using algebraic progression is cool!
This answer doesn't have the array brackets but the other 2 answers on top have it. I believe the question said to have the brackets.
0 = False and any other number is True .. perfect
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
It is exactly the opposite, 0 is falsy, and all other numbers are truthy.
this is basic math. not a wow
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
In Python a value of 0 is considered True, while all other numbers are evaluated as False.
This solution certainly gets the job done with minimal characters utilized, but it seems prone to cause needless confusion.
Loading more items...