I'm trying to calculate age in months the answer is supposed to be 481 but I keep getting 487. I'm very close but I'm unsure of the mistake I'm making in the calculation. Any help would be appreciated thank you for your time! I have been doing this for two hours but like I might be asking a stupid question.
My code for the calculation of age in months:
current_date = (current_year * 365) + (current_month * 30)
birth_date = (birth_year * 365) + (birth_month * 30)
age_in_month = (current_date - birth_date)//30
print("Age in months:" + str(age_in_month))