def dec_arg(arg):
def decorator(func):
def wrapper(*args, **kwargs):
res = func(*args, **kwargs)
return res
return wrapper
return decorator
@dec_arg(20)
def sqr(num, n):
return (num**2 + n)
print(sqr(1, 45))