I was thinking about making a deck of cards for a card game. I could make a list of all of the cards (I don't really care about the suits), but I was wondering if there was a much easier way to do this.
cards = ['1','1','1','1'....]
I'm positive you could make a for
loop to create 4 cards of the same value and add it to a list, but I was wondering if that was the best solution. I am not advanced enough to know about or create a Class
which I have seen to be offered as other solutions, but I am open to explanations.
I have already made a dictionary defining the card values.