diff --git a/challenge.py b/challenge.py index c69287d..10de44b 100644 --- a/challenge.py +++ b/challenge.py @@ -1,8 +1,11 @@ import time -def finish_date(): - # You have to code here!! +def finish_date(func): + def internal_func(*args, **kwargs): + func(*args, **kwargs) + print(f'The function {func.__name__} finished at {time.strftime("%d/%m/%Y - %H:%M:%S", time.gmtime())}') + return internal_func @finish_date