da=int(input("Ingrese el dia actual: "))
ma=int(input("Ingrese el mes actual: "))
aa=int(input("Ingrese el año actual: "))
dn=int(input("Ingrese el dia de nacimiento: "))
mn=int(input("Ingrese el mes de nacimiento: "))
an=int(input("Ingrese el año de nacimiento: "))
d1=aa*365
d2=an*365
d3=ma*30
d4=mn*30
df=(d1+d3+da)-(d2+d4+dn)
at=df//365
A=df%365
mt=A//30
dt=A%30
print("Usted tiene actualmente: ",at," años ",mt," meses y ",dt," días")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: