Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Card:
- def __init__(self, value, figure, color):
- self.value = value
- self.figure = figure
- self.color = color
- def newDeck():
- Deck = [Card(value, figure, color)
- for value in range(1,13)
- for color in colors]
- newDeck()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement