@sanjayrajure/

Numerology example

Python

Numerology example in Python

fork
loading
Files
  • main.py
main.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
# Numerology example in Python
# Enter your date of birth below. Write numbers only
# Without any symbols in it
# Example write 1-1-1970 as 111970  


def Add_numbers(dob):
    DOB_STRING = str(dob)
    Result = "0"
    while dob > 9:
      dob = int("0")
      for char in DOB_STRING:
         char = int(char)
         dob += char
      Result = str(dob)
      DOB_STRING = str(dob)
    return Result

print("Enter your date of Birth")
dob = int(input())

final_answer = Add_numbers(dob)
print(" Your Life path number is",final_answer)

if final_answer == '1':
   print(" You are The Leader")
elif final_answer == '2':
   print(" You are The Mediator")
elif final_answer == '3':
   print(" You are The Communicator")
elif final_answer == '4':
   print(" You are The Teacher")
elif final_answer == '5':
   print(" You are The Freedom Seeker")
elif final_answer == '6':
   print(" You are The Nurturer")
elif final_answer == '7':
   print(" You are The Seeker")
elif final_answer == '8':
   print(" You are The Powerhouse")
elif final_answer == '9':
   print(" You are The Humanitarian")
else:
   print(" I don't know who you are!")