TOPIC

O que errei?

Dre Torrete asked 2 years ago

d=int(input()) anos=0 mes=0 while(d>=365): anos=anos+1 d=d-365

while(d>=30): mes=mes=1 d=d-30

print("%d ano(s)" %anos) print("%d mes(es)" %mes) print("%d dia(s)" %d)

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.