Sobes.tech
Senior

additionner deux nombres dans une fonction au-dessus d'un décorateur qui écrit d'abord bonjour puis appelle la fonction d'addition écrit à bientôt def hello(func): def wrapper(a,b): print('Bonjour') result = func(a,b) print("À bientôt") return result return wrapper @hello_bye_dec def add_numbers(a,b): return a+b Print(add_numbers(2,3))