From c40c6443c438e28460a7b7cc99321fc18ba303e1 Mon Sep 17 00:00:00 2001 From: Danelia Sanchez Date: Thu, 7 May 2020 21:27:30 -0500 Subject: [PATCH] challenge completed --- challenge.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/challenge.py b/challenge.py index c69287d..3e1e204 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 wrapper(*args, **kwargs): + func(*args, **kwargs) + print(f' The function {func.__name__} finished at {time.strftime("%d/%m/%Y - %H:%M:%S")}') + return wrapper @finish_date