#decorator def my_decorator(func): def wrap_func(): print('************') func() print('************') return wrap_func @my_decorator def hello(): print('hellllooooooooooo') @my_decorator def bye(): print('see ya letter') hello() bye()