''' DS2000 Spring 2023 Sample code from class - the Deck What attributes (variables) - what does it HAVE? * list of cards * size? (design choice) What methods (functions) - what does it DO? * shuffle * deal a card * cut the deck? ''' from card import Card SUITS = {1 : "clubs", 2 : "diamonds", 3 : "hearts", 4 : "spades"} class Deck: ''' class comments would go here''' def __init__(self): self.cards = [] for i in range(2, 15): for key, value in SUITS.items(): c = Card(value = i, suit = value) self.cards.append(c)