human
I am working on the file "Closure a dekorator.ipynb".
The first task is:
Co ked ma tych parametrov viac?
To iste ako v predchadzajucom pripade. Wrapper musi mat tie iste parametre.
Skusme to zovseobecnit pre funkcie s hociakym poctom atributov
Can you write Python code for it?
assistant
#Here is the Python code you requested.

def param_decorator2(param_fct):
    def wrapper(*args): # wrapper musi mat tie iste parametre
        print('wrapper stuff')
        return param_fct(*args) # co sa stane ked tu nebude *?
    return wrapper

@param_decorator2
def my_print(string):
    print(string)

@param_decorator2
def my_print_more(string1, string2, string3):
    print(string1, string2, string3)
    
@param_decorator2
def my_print_many(*args):
    print(*args)
    
my_print('hello')
my_print_more('hello', 'hello2', 'hello3')
my_print_many('hello', 'hello2', 'hello3', 'hello4', 'hello5')