print ('Welcome to BirthPath Calculator')
Day = input('Input you day of Birth (1-31): ')
Month = input('Input your month of birth (1-12): ')
Year = input ('Input your year of birth: ')
Day = int(Day)
Month = int(Month)
Year = int(Year)
Birthpath = Day + Month + Year
sum(Birthpath)
print ('This is your Birth Path: '+str(Birthpath))
I want the Birthpath
to sum to a single number.
Let's assume that the value of the Birthpath
is 2014, I want to sum it up to 2+0+1+4= 7.