diff --git a/html_decorators.py b/html_decorators.py index 8d9c421..3e4ae07 100644 --- a/html_decorators.py +++ b/html_decorators.py @@ -1,22 +1,31 @@ def div(func): # You have to code here! - pass + def func_wrapper(*args, **kwargs): + return '
{}
'.format(func(*args, **kwargs)) + + return func_wrapper # Here you must apply the decorators, uncomment this later -# @div -# @article -# @p +@div +#@article +#@p def saludo(nombre): return f'¡Hola {nombre}, ¿Cómo estás?'