Oh boy, that looks like you'll be messing with strings.
That's a *****.
My assignment is due on friday, I haven't started but as usual I'll start on it tonight, get frustrated tomorrow and at the last day I get help and hand it in. As for you, get help from the TA.Convert each of the number of the birth day, birth month and birth year to a single digit number.
Values already consisting of a single digit need not be converted. (For example birth month = 1). Values consisting of more than one digit are broken into individual digits and added together. For example birth month = 11 is split into 1 + 1 = 2.
If the resulting sum consists of multiple digits then the process of breaking a number down into individual digits and adding them together is repeated until a single digit number is derived. For example birth year = 1977 becomes 1 + 9 + 7 + 7 = 24 and 24 is split into 2 + 4 = 6. This is now a single digit so no more is converting needed
Add the three single digits.
For example, birth date: 11/17/1972 Reduced to single digits yields: 2, 8, 1 (previous step). Adding these digits = 2 + 8 + 1 = 11 (this step)
Reduce this sum to single digit to yield the life path number.
Continuing the previous example: 11 = 1+ 1 = 2
Oh boy, that looks like you'll be messing with strings.
That's a *****.
Butts.
213 181 178 166 165 164 162 152 147 135 134 130 125 123 123 120 120 104 100 100
etc, etcCode:num1 = birth[0:2] num2 = birth[3:5] num3 = birth[6:10] total = 0 while len(num1) != 1: for elem in num1: total += int(elem) num1 = str(total)
probably wrong but basically a lot of converting between ints and strings
http://www.cdf.toronto.edu/~csc108h/...a2/index.shtml here's the page for my assignment, please buy me coke for suffering
One of my newer friends found out about Maple.
I'll never live this down
Spoiler!
But I still haven't attended the "how to talk to girls" panel.
he'll never believe me
Spoiler!