I'm a newbie in python programming and I have problem with my coding as the output doesn't display age correctly in days and seconds (as shown on 'output' below)
Output
Please enter your birthday
Year:1985
Month (1-12):5
Date:8
Your age is 10024 days, 0:00:00
Can anyone assist further why and how to fix this problem?
Code
print "Please enter your birthday "
bd_y=int(input("Year:"))
bd_m=int(input("Month (1-12):"))
bd_d=int(input("Date:"))
from datetime import date
now = date.today ()
age = date(int(bd_y), int(bd_m), int(bd_d))
print ("Your age is " + str(now-age))
Thanks in advance :)