-
Notifications
You must be signed in to change notification settings - Fork 0
/
What star sign are you.py
284 lines (263 loc) · 6.89 KB
/
What star sign are you.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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
#imports time so i can use the sleep delay command
import time
#Welocmes the user to the game and asks if they want to find out there star sign
def welcome():
print ("Lets find out what your star sign is. Tap y to continue or press any key to exit:")
answer = input(">")
if answer == "y":
print ("Let't get started")
print ("LOADING...")
time.sleep(3)
questions()
else:
exit()
#Asks the user what month they are born
def questions():
print ("What month were you born?")
month = input(">")
if month == "january":
one()
if month == "february":
two()
if month == "march":
three()
if month == "april":
four()
if month == "may":
five()
if month == "june":
six()
if month == "july":
seven()
if month == "august":
eight()
if month == "september":
nine()
if month == "october":
ten()
if month == "november":
eleven()
if month == "december":
twelve()
else:
questions()
#Asks the user which of the 2 date options they are born between
def one():
print ("Does option A or option B contain your birth date?")
print ("A: 1st - 19th")
print ("B: 20th - 31st")
date = input(">")
if date == "A":
print ("Your star sign is Capricorn")
time.sleep(2)
exit()
if date == "B":
print ("Your star sign is Aquarius")
time.sleep(2)
exit()
else:
print ("Invalid input")
one()
def two():
print ("Does option A or option B contain your birth date?")
print ("A: 1st - 18th")
print ("B: 19th - 28th")
date = input(">")
if date == "A":
print ("Your star sign is Aquarius")
time.sleep(2)
exit()
if date == "B":
print ("Your star sign is Pisces")
time.sleep(2)
exit()
else:
print ("Invalid input")
two()
def three():
print ("Does option A or option B contain your birth date?")
print ("A: 1st - 20th")
print ("B: 21st - 31st")
date = input(">")
if date == "A":
print ("Your star sign is Pisces")
time.sleep(2)
exit()
if date == "B":
print ("Your star sign is Aries")
time.sleep(2)
exit()
else:
print ("Invalid input")
three()
def four():
print ("Does option A or option B contain your birth date?")
print ("A: 1st - 19th")
print ("B: 20th - 30th")
date = input(">")
if date == "A":
print ("Your star sign is Aries")
time.sleep(2)
exit()
if date == "B":
print ("Your star sign is Taurus")
time.sleep(2)
exit()
else:
print ("Invalid input")
four()
def five():
print ("Does option A or option B contain your birth date?")
print ("A: 1st - 20th")
print ("B: 21st - 31tst")
date = input(">")
if date == "A":
print ("Your star sign is Taurus")
time.sleep(2)
exit()
if date == "B":
print ("Your star sign is Gemini")
time.sleep(2)
exit()
else:
print ("Invalid input")
five()
def six():
print ("Does option A or option B contain your birth date?")
print ("A: 1st - 20th")
print ("B: 21st - 30th")
date = input(">")
if date == "A":
print ("Your star sign is Gemini")
time.sleep(2)
exit()
if date == "B":
print ("Your star sign is Cancer")
time.sleep(2)
exit()
else:
print ("Invalid input")
six()
def seven():
print ("Does option A or option B contain your birth date?")
print ("A: 1st - 22nd")
print ("B: 23rd - 31st")
date = input(">")
if date == "A":
print ("Your star sign is Cancer")
time.sleep(2)
exit()
if date == "B":
print ("Your star sign is Leo")
time.sleep(2)
exit()
else:
print ("Invalid input")
seven()
def eight():
print ("Does option A or option B contain your birth date?")
print ("A: 1st - 22nd")
print ("B: 23rd - 31st")
date = input(">")
if date == "A":
print ("Your star sign is Leo")
time.sleep(2)
exit()
if date == "B":
print ("Your star sign is Virgo")
time.sleep(2)
exit()
else:
print ("Invalid input")
eight()
def nine():
print ("Does option A or option B contain your birth date?")
print ("A: 1st - 22nd")
print ("B: 23rd - 30th")
date = input(">")
if date == "A":
print ("Your star sign is Virgo")
time.sleep(2)
exit()
if date == "B":
print ("Your star sign is Libra")
time.sleep(2)
exit()
else:
print ("Invalid input")
nine()
def ten():
print ("Does option A or option B contain your birth date?")
print ("A: 1st - 22nd")
print ("B: 23rd - 31st")
date = input(">")
if date == "A":
print ("Your star sign is Libra")
time.sleep(2)
exit()
if date == "B":
print ("Your star sign is Scorpio")
time.sleep(2)
exit()
else:
print ("Invalid input")
ten()
def eleven():
print ("Does option A or option B contain your birth date?")
print ("A: 1st - 21st")
print ("B: 22nd - 30th")
date = input(">")
if date == "A":
print ("Your star sign is Scorpio")
time.sleep(2)
exit()
if date == "B":
print ("Your star sign is Sagittarius")
time.sleep(2)
exit()
else:
print ("Invalid input")
eleven()
def twelve():
print ("Does option A or option B contain your birth date?")
print ("A: 1st - 21st")
print ("B: 22nd - 31st")
date = input(">")
if date == "A":
print ("Your star sign is Sagittarius")
time.sleep(2)
exit()
if date == "B":
print ("Your star sign is Capricorn")
time.sleep(2)
exit()
else:
print ("Invalid input")
twelve()
welcome()
#Notes to keep track of what star signs link to what months/dates
# Capricorn == December 22 - January 19
# Aquarius == jan 20 - feb 18
# Pisces == feb 19 - march 20
# Aries == march 21 - april 19
# Taurus == april 20 - may 20
# Gemini == may 21 - june 20
# Cancer == june 21 - july 22
# Leo == july 23 - aug 22
# Virgo == aug 23 - sept 22
# Libra == sept 23 - oct 22
# Scorpio == oct 23 - nov 21
# Sagittarius == nov 22 - dec 21
#Notes to show what the last date is of each month
# Jan = 31
# Feb = 28
# Mar = 31
# Apr = 30
# May = 31
# June = 30
# July = 31
# Aug = 31
# Sept = 30
# Oct = 31
# Nov = 30
# Dec = 31