-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathASCII_Art_Blackjack.py
31 lines (28 loc) · 1.39 KB
/
ASCII_Art_Blackjack.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ASCII ART 1: Function with for loop to print each line/index of the list
def blackjack_ascii():
"""An ascii art function that uses a for loop to print each line of the ascii art"""
ascii = [
" Camille's Blackjack Game (Cams-Plan @GitHub)",
".------. _ _ _ _ _",
"|A_ _ |. | | | | | | (_) | |",
"|( \/ ).-----. | |__ | | __ _ ___| | ___ __ _ ___| | __",
"| \ /|K /\ | | '_ \| |/ _` |/ __| |/ / |/ _` |/ __| |/ /",
"| \/ | / \ | | |_) | | (_| | (__| <| | (_| | (__| <",
"`-----| \ / | |_.__/|_|\__,_|\___|_|\_\ |\__,_|\___|_|\_\ " ,
" | \/ K| _/ |",
" `------' |__/ "
]
for line in ascii:
print(line)
# ASCII ART 2: Triple Quotes/Docstring
blackjack_ascii = """
Camille's Blackjack Game (Cams-Plan @GitHub)
.------. _ _ _ _ _
|A_ _ |. | | | | | | (_) | |
|( \/ ).-----. | |__ | | __ _ ___| | ___ __ _ ___| | __
| \ /|K /\ | | '_ \| |/ _` |/ __| |/ / |/ _` |/ __| |/ /
| \/ | / \ | | |_) | | (_| | (__| <| | (_| | (__| <
`-----| \ / | |_.__/|_|\__,_|\___|_|\_\ |\__,_|\___|_|\_\
| \/ K| _/ |
`------' |__/
"""