Birthday Finder Project - Python
<p>For my school project, I have to make a python script that tells the user how many years until they reach the age of 100, and how many days until their next birthday. I have figured the first problem, but I have no idea how to address the second part of this project. In summary: How do I get the days until the users next birthday on Python (3.2).
This is what I have so far:</p>

<pre><code>from datetime import datetime

name = input("What's your name?")
print("Nice to meet you %s." % (name))
print("What day is your birthday? (MMDDYYYY)")
birthdate = input()
birthday = int(birthdate[2:3])
birthyear = int(birthdate[4:])
print (birthyear)
now = datetime.now()
current_year = now.year
current_month = now.month
current_day = now.day
currentAge = current_year - birthyear
age = current_year - birthyear
print (now)
print (age)
year_till_100 = str(100 - currentAge)
print ("You will be 100 in %s years." % (year_till_100))
</code></pre>