# # INITIAL INITIALIZATION INITIALIZE!import time# INITIAL INITIALIZATION INITIALIZED.# ## BEGIN getPerson FUNCTIONdef getPerson(month, day): months = ["january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december"] i = 0 for i in range(12): if month.lower() == months[i]: break days = addDays(i, int(day)) return days# END getPerson FUNCTION# # # BEGIN addDays FUNCTIONdef addDays(mos, days): i = 0 if mos > 1: totalDays = days - 2 else: totalDays = days for i in range(mos): if i/2 == i/2.0: totalDays = totalDays + 31 elif i/2 != i/2.0: totalDays = totalDays + 30 return totalDays# END addDays FUNCTION# # # BEGIN getZodiac FUNCTIONdef getZodiac(totalDays): if totalDays in range(1,20) or totalDays in range(356,366): return "Capricorn" elif totalDays in range(20,50): return "Aquarius" elif totalDays in range(50,80): return "Pisces" elif totalDays in range(80,110): return "Aries" elif totalDays in range(110,141): return "Taurus" elif totalDays in range(141,172): return "Gemini" elif totalDays in range(172,204): return "Cancer" elif totalDays in range(204,235): return "Leo" elif totalDays in range(235,266): return "Virgo" elif totalDays in range(266,296): return "Libra" elif totalDays in range(296,326): return "Scorpio" elif totalDays in range(326,356): return "Sagittarius"# END getZodiac FUNCTION# myMonth = raw_input("What month were you born in? ")myDay = raw_input("And, what day were you born on? ")myYear = raw_input("Do you mind me asking what year? ")herMonth = raw_input("What month was your love born in? ")herDay = raw_input("What day were they born on? ")herYear = raw_input("Do you know the year? ")# # COMPUTE YOUR AGEtotalDays = getPerson(myMonth, myDay)myAge = time.localtime()[0] - int(myYear)myZodiac = getZodiac(totalDays)# DONE COMPUTING YOUR AGE# # # COMPUTE LOVE'S AGEtotaldays = getPerson(herMonth, herDay)herAge = time.localtime()[0] - int(herYear)herZodiac = getZodiac(totalDays)# DONE COMPUTING LOVE'S AGE# # # GUYS THIS IS THE END WHERE IT SHOWS STUFF!!!print "You are " + str(myAge) + " years old! (if you're not, QUIT BAWWWING)"print "Your zodiac sign is " + myZodiac + "!"print "Her age is " + str(herAge) + " and her sign is " + herZodiactime.sleep(5)# GUYS IT JUST FINISHED SHOWING STUFF#