Ayla is working
Numerology is the new age concept of learning your predetermined personality based on your birthday. Personally,I don’t believe in it, or astrology for that matter, but I figured the algorithm to calculate one’s life number was simple enough to program so I went with it.
As my latest python creation, it’s much more complicated than Moneybags or Waterfall. It uses nested statements and if/elif/else to calculate a persons ‘Life Path Number’ from their birthday.The only problem is that the code won’t work.
Here’s what I wrote.
month=raw_input (‘Enter Birth Month: ‘)
a = month0 + month1
day=(raw_input (‘Enter Birth Day: ‘))
b = day0+day1
if b>9:
b2= b0 + b1
year=raw_input (‘Enter Birth Year: ‘)
c = year0+year1+year2+year3
if c>9:
c2=c0+c1
if c2>9:
c3=c20+c21
if b>9:
b.replace((b),(b2))
if c>9:
c.replace((c),(c2))
if c2>9:
c2.replace((c2),(c3))
total=a+b+c
if total>9:
num = total0+total1
if num==int(11):
print ‘Your Life Path Number Is 11’
elif num==int(22):
print ‘Your Life path Number Is 22’
else:
total.replace(int(total),int(num))
if total==int(1):
print ‘Your Life Path Number Is 1’
if total==int(2):
print ‘Your Life Path Number Is 2’
if total==int(3):
print ‘Your Life Path Number Is 3’
if total==int(4):
print ‘Your Life Path Number Is 4’
if total==int(5):
print ‘Your Life Path Number Is 5’
if total==int(6):
print ‘Your Life Path Number Is 6’
if total==int(7):
print ‘Your Life Path Number Is 7’
if total==int(8):
print ‘Your Life Path Number Is 8’
if total==int(9):
print ‘Your Life Path Number Is 9’
raw_input (‘Press To Exit’)
I’ve checked and rechecked my code at least a dozen times. I don’t understand why it won’t work.