View blackjack.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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): |