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.
Now I feel so stupid :D
good answer with readable solution.
Omg, simple
This comment is hidden because it contains spoiler information about the solution
OMG, i'm very stupid
it checks if the list is not empty
Nice!
This comment has been deleted.
I think if you think about this one more, you can do it this way. But I feel like it was so far to type I might as well just write out all the combos I can think of.
Really good use of a dictionary
The comma operator makes age,handicap a tuple to Python. The parenthesis make it a tuple to everyone else.
Regex is actually slower.
Close to mine but I totally forgot about tuple unpacking ...
Interesting solution, but for negative numbers it will give an incorrect result, for example -5 % 2 = -1, so math.abs() is needed
because output is list
Loading more items...