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.
very nice
This comment is hidden because it contains spoiler information about the solution
There is always solution beyond my imagination!
smart guy
Well it should be best practice cause mine is the real clever one
3 years ago but this is a solution in python. If you want a solution using a different language, check the solution for a different language. Why should you not use an optimal solution in the language you are practicing in just because some other language can't use the same solution? In fact, if this can ONLY be done in python, that makes it more pythonic by definition which is generally considered a plus by most python afficionados.
This comment is hidden because it contains spoiler information about the solution
Heck, wish I'd thought of that. Nice!
Best!
This comment is hidden because it contains spoiler information about the solution
odd + odd = even
even + even = even
odd + even = odd
================
0 = False
any number = true
The way I come to these solutions just to be absolutely humbled by basic math.
That's another nice approach
0 = False and any other number is True .. perfect
This comment is hidden because it contains spoiler information about the solution
Loading more items...