+ 4

Poker hand (Python)[Solved]

https://code.sololearn.com/c9I74W5x5xSy/?ref=app Could anyone tell me why I can’t pass test case 3 and 8?

19th Jan 2020, 2:01 PM
Alice
Alice - avatar
7 odpowiedzi
+ 2
hi, the required answer is not “in a kind” but “of a kind”? your code seems fine, your output text is different from required
19th Jan 2020, 2:23 PM
bell
bell - avatar
+ 3
bell Haha, that’s a silly mistake^_^
19th Jan 2020, 2:26 PM
Alice
Alice - avatar
+ 3
bell Thank you. Now all test cases passed!
19th Jan 2020, 2:28 PM
Alice
Alice - avatar
+ 2
yeah, but the kind that happens in real life too! according to my mentor, an expert is someone who has made all possible mistakes (just) once! congrats for finishing all code coach challenges
19th Jan 2020, 2:30 PM
bell
bell - avatar
+ 1
Only this challenge left! Could anyone help me out?
19th Jan 2020, 2:09 PM
Alice
Alice - avatar
0
Hi guys, I think, in hand poker game, every THREE OF A KIND MUST BE ONE PAIR (ONE PAIR IS A SUBSET OF THREE OF A KIND). ALSO EVERY FOUR OF A KIND MUST BE ONE PAIR (ONE PAIR IS A SUBSET OF FOUR OF A KIND).
23rd Mar 2024, 9:33 AM
Oliver Pasaribu
- 1
no tests for low stright: A-2-3-4-5
21st Jan 2020, 1:34 AM
Jegors Čemisovs
Jegors Čemisovs - avatar