Was anyone able to solve the code-coach âPoker Handâ challenge in any language?
There are only ten possible outputs, and this is all 10 of them: ranks = dict(zip([1,2,3,4,5,6,7,8,9,10],[ "High Card", "One Pair", "Two Pairs", "Three of a Kind", "Straight", "Flush", "Full House", "Four of a Kind", "Straight Flush", "Royal Flush" ])) Ignore the Python Syntax. The language isnât important in this case. I output every single one of these but no matter what I do, I canât solve for one test case. This lead me to conclude that I must be spelling something wrong or missing a capitol letter somewhere. But I canât find it. My eyes hurt, can someone see if Iâm misspelling something? Btw, itâs test case #6. Every other test case is possible to solve by outputting just the text for each answer. Nothing in the prompt suggest the answer would be outside of those 10 solutions.