diff --git a/challenge.py b/challenge.py index c69287d..55fd516 100644 --- a/challenge.py +++ b/challenge.py @@ -1,8 +1,12 @@ import time -def finish_date(): - # You have to code here!! +def finish_date(func): + def wrapper(*args, **kwargs): + func(*args, **kwargs) + final_time = time.strftime('%d/%m/%Y - %H:%M:%S', time.localtime()) + print(f'The function {func.__name__} finish at {final_time}') + return wrapper @finish_date