Untitled

 avatar
RonGut23
plain_text
18 days ago
250 B
4
Indexable
Never
from datetime import datetime
def tiempo_aula(funcao):
    def horas():
        print(datetime.now())
        funcao()
        print(datetime.now())
    return horas
@tiempo_aula
def aula_agora():
    print("Estudando..")

aula_agora()

Leave a Comment