-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbirthmonth.py
102 lines (87 loc) · 4.26 KB
/
birthmonth.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
# -*- coding: utf-8 -*-
"""
Created on Mon Sep 21 10:23:05 2020
@author: abm
"""
print("\n\t\tKNOW YOUR CHARACTER BASED ON BIRTH MONTH")
print("\t\t==== ==== ========= ===== == ===== =====")
next = True
while next == True:
s = input(str("Enter your BIRTH month: ") )
#For the month JANUARY.
if s.lower() == 'january' or s.lower() == 'jan' :
print("\n People born in JANUARY are BOLD and ALERT")
print("\t ------------- ")
print("\tYour Birth GEM is |' GARNET ' |")
print("\t ------------- ")
#For the month FEBRUARY.
elif s.lower() == 'february' or s.lower() == 'feb' :
print("\n People born in FEBRUARY are LUCKY and LOYAL")
print("\t --------------")
print("\tYour Birth GEM is |' AMETHYST '| ")
print("\t --------------")
# For the month MARCH.
elif s.lower() == 'march' or s.lower() == 'mar' :
print("\n People born in MARCH are NAUGHTY and GENIUS")
print("\t ----------------")
print("\tYour Birth GEM is |' AQUAMARINE '| ")
print("\t ----------------")
#For the month APRIL.
elif s.lower() == 'april' or s.lower() == 'apr' :
print("\n People born in APRIL are CARING and STRONG")
print("\t -------------")
print("\tYour Birth GEM is |' DIAMOND '| ")
print("\t -------------")
#For the month MAY.
elif s.lower() == 'may' :
print("\n People born in MAY are LOVING and PRACTICAL")
print("\t ------------")
print("\tYour Birth GEM is |'EMERALD '| ")
print("\t ------------")
#For the month JUNE.
elif s.lower() == 'june' or s.lower() == 'jun' :
print("\n People born in JUNE are ROMANTIC and CURIOUS")
print("\t -----------------")
print("\tYour Birth GEM is |' ALEXANDRITE '| ")
print("\t -----------------")
#For the month JULY.
elif s.lower() == 'july' or s.lower() == 'jul' :
print("\n People born in JULY are ADVENTUROUS and HONEST")
print("\t ----------")
print("\tYour Birth GEM is |' RUBY '|")
print("\t ----------")
#For the month AUGUST.
elif s.lower() == 'august' or s.lower() == 'aug' :
print("\n People born in AUGUST are ACTIVE and HARDWORKING")
print("\t -------------")
print("\tYour Birth GEM is |' PERIDOT '| ")
print("\t -------------")
#For the month SEPTEMBER.
elif s.lower() == 'september' or s.lower() == 'sep' :
print("\n People born in SEPTEMBER are SENSITIVE and PRETTY")
print("\t --------------")
print("\tYour Birth GEM is |' SAPPHIRE '| ")
print("\t --------------")
#For the month OCTOBER.
elif s.lower() == 'october' or s.lower() == 'oct' :
print("\n People born in OCTOBER are STYLISH and FRIENDLY")
print("\t ---------------- ")
print("\tYour Birth GEM is |' TOURMALINE '| ")
print("\t ---------------- ")
#For the month NOVEMBER.
elif s.lower() == 'november' or s.lower() == 'nov' :
print("\n People born in NOVEMBER are NICE and CREATIVE")
print("\t -------------")
print("\tYour Birth GEM is |' CITRINE '| ")
print("\t -------------")
#For the month DECEMBER.
elif s.lower() == 'december' or s.lower() == 'dec' :
print("\n People born in DECEMBER are CONFIDENT and LOVING")
print("\t ------------")
print("\tYour Birth GEM is |' ZIRCON '| ")
print("\t ------------")
#When all the conditions FAILS.
else:
print("\n Please check the Entered data.")
#This gives the condition whether have to continue or end.
next = True if input("Shall we do it again (y/n)").lower() =='y' else False