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