I want to create a deck of cards by combining a list containing card values:
[7,8,9,10,J,Q,K,A]
and a list containing colors:
[♣,♥,♠,♢]
to get all combinations once.
Is there some simple way to combine lists (or strings) in this way?
I tried several ways but none worked (maybe because special characters used directly (♣,♥,♠,♢) and not in the \N{xxxxx} way? )
expected outcome would be list/dictionary containing all possible combinations exactly once:
["7♣","7♥","7♠","7♢","8♣","8♥","8♠","8♢", ....."A♣","A♥","A♠","A♢"]
thanks alot for helping guys :)