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.
You are not correctly checking the shapes, only the amount of 40
Is this solution really working? I tried it and there were errors.
This solution return an error:
return binascii.b2a_hex(s)
TypeError: a bytes-like object is required, not 'str'
doesn't work for following tests:
runTest ("4kind J and Q", "Loss", 'JS JD JH JC AC', 'QS QD QH QC 3C')
runTest ("4kind J and Q v2", "Win", 'QS QD QH QC 3C', 'JS JD JH JC AC')
doesn't work well with: print (sorted(map(PokerHand, [ 'JS JD JH JC AC','QS QD QH QC 3C'])))
instead: [QS QD QH QC 3C, JS JD JH JC AC]
shows: [JS JD JH JC AC, QS QD QH QC 3C]