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.
thanks.
Python: function name should be
snake_case
i
tends to be for integers by convention. This exercise deals with lists, so a different letter likex
would be more appropriate.i think it's very clear and python style solution
The standard way of comparing hands with nothing is not the "sum of cards" but based on the high cards.
For example: 2,3,4,5,10 beats 4,6,7,8,9 even though 2+3+4+5+10 < 4+6+7+8+9
It's too late to change the rules of the Kata. I just find it odd that a made up rule is used.
You don't need the curly braces. Nice solution.
Thought of the same solution haha. Also pondered over the "hint" in the description.
Nice, I didn't see it that way.
No matter the ammount (ml) of content is given, it's always 100%.
Haha am very foolish..how could i not think of such simple solution
Needs random tests
Still no random tests, so still issue ;-)
Also, it's still a knapsack ;-)
No random tests is always a issue. So don't resolve them.
The sum of the 5 highest value card from the 7. One pair always better than this.
Based on Texas Hold'em poker rulebook.
Loading more items...