I have a meses_dias
function that receives an argument, an integer days, and returns a string that says how many weeks and days that number represents. For example, meses_dias(10)
should return 1 semana(s) e 3 dias(s)
I've tried this:
def meses_dias(dias):
return("{} meses(s) e {} dias(s).".format(dias//7))