class Data:
def __init__(self, dia, mes, ano):
self.dia = dia
self.mes = mes
self.ano = ano
def formatada(self):
print( '{}/{}/{}'.format(self.dia, self.mes, self.ano))
class Data:
def __init__(self, dia, mes, ano):
self.dia = dia
self.mes = mes
self.ano = ano
def formatada(self):
print( '{}/{}/{}'.format(self.dia, self.mes, self.ano))
class Data:
def __init__(self, dd, mm, aaaa):
self.dd = dd
self.mm = mm
self.aaaa = aaaa
def formadata(self):
print(f'{self.dd}/{self.mm}/{self.aaaa}')