Skip to content

Instantly share code, notes, and snippets.

View rscheiwe's full-sized avatar

Richard Scheiwe rscheiwe

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rscheiwe
rscheiwe / deck_of_cards.py
Created September 28, 2018 12:10
Deck of Cards Code Challenge
deck = []
suits = ['spade', 'club', 'diamond', 'heart']
num_cards = [num for num in range(2,11)]
face_cards = ['jack', 'queen', 'king', 'ace']
cards = num_cards + face_cards
class Deck:
def __init__(self, values, suits):
self.values = values
self.suits = suits