publish solutions

This commit is contained in:
2025-02-17 16:52:06 +01:00
parent e4fc3e18b1
commit 64b8207dbb
12 changed files with 197 additions and 17 deletions

View File

@@ -1,6 +1,14 @@
def log_decorator(func):
pass
def wrapper():
print("message avant")
result = func()
print("message après")
return result
return wrapper
@log_decorator
def function_test():
print("Cette fonction ne prend pas d'arguments.")