human
I am working on the file "Decorators.ipynb".
The first task is:
Chaining Decorators in Python
Multiple decorators can be chained in python.
Can you write Python code for it?
assistant
#Here is the Python code you requested.

def star(func):
    def inner(*args, **kwargs):
        print('*'* 30)
        func(*args, **kwargs)
        print('*'* 30)
    return inner

def percent(func):
    def inner(*args, **kwargs):
        print('%'*30)
        func(*args,**kwargs)
        print('%'*30)
    return inner
    
@star
@percent
def printer(msg):
    print(msg)
    
printer("Hello")