#KeepCoding100Days
#keepcoding100days·
12 articles
Here is my Caesar Cipher code. I did this about 8 months ago :)
alphabet = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u',
'v', 'w', 'x', 'y', 'z', 'a', 'b', 'c', 'd', 'e', 'f', 'g... ############### Blackjack Project #####################
from art import logo
import random
def deal_card():
cards = [11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10]
return(random.choice(cards))
def calculate_score(cards):
if sum(cards) > 2...