What is the best way to store the cards and suits in python so that I can hold a reference to these values in another variable?
For example, if I have a list called
You could simply use a number, and decide on a mapping between number and "card". For example:
number MOD 13 = face value (after a +1)
number DIV 13 = suit