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
9 changes: 7 additions & 2 deletions challenge.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down