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.