-
Notifications
You must be signed in to change notification settings - Fork 0
/
random_cocktail.py
167 lines (146 loc) · 5.12 KB
/
random_cocktail.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
import random
print("""
.''''.
/,.--. )
.'``. __ __((\- -(\)
_______.' \_.-'''' ``' /)) - .\|
__....::::::::::'''''''/ . \'''''''::::::(/ `-'`.)
.:'::. . o ~ . ~ o ~ / / '.o ~ . _.....--- ` \
':. ':::::.___.____,___/ ,'_\ \ _.-'___..___..._,'
':. o~ `::::::::::::::::::::::::::::::::::::::::' (\
`':. o ~ o .. o , ~ \ . o~ -. ~ .'.:'\'(
':. ,.. o ~ o . , 'o. ~ o ~ o'.:' \(/
'. o ~ . ~ o ~ ',o : : .' .' ('\/ |
'-._ ~ o , o , . ~._ _.o_.-' \/ ) (
'- .._ . ~ ~ _.. -'
''' - .,.,. - '''
(:' .:)
:| '|
|. ||
|| :|
:| |'
|| :|
'| ||
|: ':
|| :|
__..--:| |'--..__
_...-' _.' |' :| '.__ '-..._
/ - ..--- ''''' ---... _ \
LGB \ _____ ..-- --.. ____ /
'-----....._________.....-----'
""")
print('\nWelcome to Sip Surprise: a Cocktail Experience...')
print('\nChoose your build:\n0 SOUR\n1 MULE\n2 COLLINS\n3 NEGRONI\n4 LAST WORD')
spirit = [ "Vodka",
"Gin",
"Rum",
"Tequila",
"Bourbon",
"Scotch",
"Cognac",
"Mezcal",
"Absinthe",
"Pisco",
"Aquavit",
"Apple spirit",
"Cachaça",
"Grappa",
"Ouzo",
"Raki"]
syrup = ["Simple Syrup",
"Grenadine",
"Orgeat Syrup",
"Honey Syrup",
"Maple Syrup",
"Agave Syrup",
"Vanilla Syrup",
"Ginger Syrup",
"Cinnamon Syrup",
"Pineapple Syrup",
"Raspberry Syrup",
"Mint Syrup",
"Lavender Syrup",
"Rose Syrup",
"Peppermint Syrup"]
liqueur = ["Triple Sec",
"Amaretto",
"Cointreau",
"Grand Marnier",
"Kahlua",
"Chambord",
"Campari",
"Aperol",
"St. Germain",
"Midori",
"Galliano",
"Frangelico",
"Drambuie",
"Chartreuse",
"Benedictine",
"Sambuca",
"Limoncello",
"Blue Curacao",
"Pimm's No. 1"]
citrus = ["Lemon",
"Lime",
"Orange",
"Grapefruit",
"Tangerine",
"Mandarin",
"Bergamot",
"Blood Orange",
"Yuzu",]
sweet_carb = ["Cola",
"Ginger Ale",
"Lemon-Lime Soda",
"Tonic Water",
"Root Beer",
"Cream Soda",
"Ginger Beer"]
unsweet_carb = ["Club Soda",
"Mineral Water"]
amaro = [
"Averna",
"Fernet-Branca",
"Amaro Nonino",
"Amaro Montenegro",
"Campari",
"Aperol",
"Cynar",
"Ramazzotti",
"Lucano",
"Amaro Meletti",
"Amaro Sibilla",
"Amaro dell'Etna",
"Amaro Braulio",
"Amaro Tosolini",
"Amaro Santa Maria al Monte",
"Cardamaro",
"Zucca Rabarbaro",
"Amaro Nardini",
"Amaro Sfumato Rabarbaro",
"Amaro CioCiaro"]
while True:
cocktail = ''
choice = int(input("\nSelection: "))
if choice == 0:
cocktail += random.choice(spirit) + ', ' + random.choice(citrus) + ', ' + random.choice(syrup)
print('\nMixing...\n\nYour cocktail: \n' + cocktail + '\n\nTip: Sour Builds typically call for 2 parts spirit, 1 part citrus, and 1 part syrup.')
elif choice == 1:
cocktail += random.choice(spirit) + ', ' + random.choice(citrus) + ', ' + random.choice(sweet_carb)
print('\nMixing...\n\nHere you are: \n' + cocktail + '\n\nTip: Mule Builds typically call for 2 parts spirit, 1 part citrus, topped with a sweetened carbonated beverage.')
elif choice == 2:
cocktail += random.choice(spirit) + ', ' + random.choice(citrus) + ', ' + random.choice(unsweet_carb)
print('\nMixing...\n\nEnjoy: \n' + cocktail + '\n\nTip: Collins Builds typically call for 2 parts spirit, 1 part citrus, topped with an unsweetened carbonated beverage.')
elif choice == 3:
cocktail += random.choice(spirit) + ', ' + random.choice(amaro) + ', ' + random.choice(liqueur)
print('\nMixing...\n\nHere ya go: \n' + cocktail + '\n\nTip: Negroni Builds typically call for 1 part spirit, 1 part amaro, and 1 part liqueur.')
elif choice == 4:
cocktail += random.choice(spirit) + ', ' + random.choice(liqueur) + ', ' + random.choice(liqueur) + ', ' + random.choice(citrus)
print('\nMixing...\n\nFrom computer to human <3, enjoy: \n' + cocktail + '\n\nTip: Last Word Builds typically call for 1 part spirit, 1 part liqueur, 1 part another liqueur, and 1 part citrus.')
else:
print('error')
another = input("\nWould you like to make another selection? (y/n): ").strip().lower()
if another != 'y':
break
print("\nThank you for using Sip Surprise! Enjoy your cocktails!")