Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions challenge.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down