1 | initial version |
Perhaps doing it as shown here might help (code below).
sage: Suits = Set(["Hearts", "Diamonds", "Spades", "Clubs"])
sage: Values = Set([2, 3, 4, 5, 6, 7, 8, 9, 10,
... "Jack", "Queen", "King", "Ace"])
sage: Cards = CartesianProduct(Values, Suits)
Just ran this code and it didn't produce any errors.