PY
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
print('** This program is to predoct your personality based on your Date of birth : Numerology **')
print("\nDo you believe in astrology?")
input()
print("Alright.Let's have a fun session with your Birthday date.")
print("Write the exact date (1-31):")
dob=int(input())
while (dob > 31 or dob < 1):
print("Invalid date ! Please enter the correct date again:")
dob=int(input())
def getsum(n):
s=0
while n>0:
s=s+ int(n%10)
n= int(n/10)
return s
i=getsum(dob)
j=getsum(i)
print("The sum of the date you provided is ",j)
if j ==1:
print("""\n*** ONE in Numerology*** \n
This number is affiliated with the ego or the identity of an individual, which plays a vital role in their lives.\n
Thus, according to Numerology, the impact of this specific number in their name tells us how powerful their awareness of\n
the ego or the identity is. It is also associated with the qualities of being a leader and how one works towards being\n
skillful in their leadership qualities. If this number is not present in the name of the individual, then it is evident\n
that the ego may play a significant role in shaping his/her identity in a particular manner unconsciously.\n
Thus, people associated with this number tend to be quiet egoistic to the extreme.\n
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run