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.
Решилось благодаря перемене знака сравнения:
def lt_(self, other)
self > other
Haven't you just got the order back to front? Description =>
The poker hands must be sortable by rank, the highest rank first
. You're providing them lowest rank first?It's wrong:
2S 3H 6H 7S 9C should equal KS AS TS QS JS
2S AH 4H 5S KC should equal 2H 3H 4H 5H 6H
AH AC 4H 6H 7S should equal AS AD AC AH JD
AH AC 5H 6H 7S should equal JS JD JC JH 3D
2S 2H 4H 5S 4C should equal 2S AH 2H AS AC
AH AC 5H 6H AS should equal AS 3S 4S 8S 2S
2D AC 3H 4H 5S should equal 2H 3H 5H 6H 7H
Test Passed
2H 3H 5H 6H 7H should equal 2D AC 3H 4H 5S
AS 3S 4S 8S 2S should equal AH AC 5H 6H AS
2S AH 2H AS AC should equal 2S 2H 4H 5S 4C
JS JD JC JH 3D should equal AH AC 5H 6H 7S
AS AD AC AH JD should equal AH AC 4H 6H 7S
2H 3H 4H 5H 6H should equal 2S AH 4H 5S KC
KS AS TS QS JS should equal 2S 3H 6H 7S 9C
Added
metaprogramming
tag.Please add decorator teg in kata name
https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution#i-get-max-buffer-size-reached-15-mib
STDERR
Max Buffer Size Reached (1.5 MiB)