You have many questions, i think a start would be to put your deck in a dictionary type object like so:
With the key eg. 'HA', you can find the value and that leads to adding, etc.
Paul
deck = {'HA':11,'H2':2,'H3':3,'HJ':10} print(deck['H2'])I've included a few cards like Hearts/Ace, H 2, H 3, H Jack.... with the values they would have in blackjack.
With the key eg. 'HA', you can find the value and that leads to adding, etc.
Paul