Skip to content

Instantly share code, notes, and snippets.

View jasonballinger's full-sized avatar

Jason Ballinger jasonballinger

View GitHub Profile
@jasonballinger
jasonballinger / blackjack.py
Created April 12, 2020 17:29
simple blackjack program
from random import seed, randint
# This function can be done with one for loop
# Hint: lists will be very useful .... suit = [...] AJQK = [...]
def create_deck():
deck = [] # create the list
# create the diamonds cards 1-10 with a for loop (amrutha)
for index in range(1, 11):