def dec_arg(input):
def decorator(func):
def wrapper(*args, **kwargs):
x = func(*args, **kwargs)
return x * input
return wrapper
return decorator
@dec_arg(4)
def sqr(num):
return num**2
print(sqr(5))