Skip to content

Instantly share code, notes, and snippets.

Avatar

Jason Ballinger jasonballinger

View GitHub Profile
@jasonballinger
jasonballinger / blackjack.py
Created Apr 12, 2020
simple blackjack program
View blackjack.py
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):