Python blackjack program code issue. Why is it returning key "1" instead of "10"?
I used python tutor to step through the code and found that there is a bug in user_current_score(). for cards.get(card), it is pulling the "10" dictionary key but seeing it as a 1 instead, then returning None since there is no 1 card. Why would it be seeing a 1 card in the dictionary when… Read More Python blackjack program code issue. Why is it returning key "1" instead of "10"?