N" dealer_hand deal(deck) player_hand deal(deck) while choice!
TQ Sports 3 Freeware, blackjack StatWiz was designed for playing blackjack in the Internet.
Pop if card 11:card "J" if card 12:card "Q" if card 13:card "K" if card 14:card "A" hand.
Rank) return totalscore2 def aceOption(self, cards1, cards2 if "Ace" in cards1: print You have an ACE!
So as a result of first 2 problems, it turns out that your Card is just a container(structure) without any logics inside, one of the best things to use for that in python in namedtuple from collections import namedtuple, card namedtuple Card rank 'suit now.
The card's value can just be an integer for non-face cards, then you can t either the face card value or use it directly.