Today as I was solving the BlackJack challenge withing the Python tutorial. i was stuck on the is_BlackJack function for a long time because of one failed test case. On close inspection I realised that the test case was wrong the whole time. The input ‘Q’,‘K’ should generate the output as True but it was expecting False the whole time due to which my code kept failing.
BlackJack has been solved thousands of times. It’s unlikely the tests are wrong. Maybe check out some existing solutions to see how others have solved it?
Also, just on a conceptual level, getting a Queen and King in BlackJack is worth 20 points, which isn’t BlackJack (21 points)
Q,K is not a blackjack. It doesn’t add up to 21.