diff --git a/challenge.py b/challenge.py index c69287d..bd614d3 100644 --- a/challenge.py +++ b/challenge.py @@ -1,8 +1,13 @@ import time -def finish_date(): - # You have to code here!! +def finish_date(func): + def wrapper(*args, **kwargs): + func(*args, **kwargs) + date_end = time.strftime('%d/%m/%Y - %H:%M:%S', time.localtime()) + print( + f'Termino el día: {date_end}') + return wrapper @finish_date