Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Deck:
- def __init__(self):
- self.cards = []
- self.build = () # build a deck
- def build(self):
- for s in ["Spades", "Clubs", "Diamonds", "Hearts"]:
- print(s)
- deck = Deck()
- print(deck.build())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement