Skip to content
Questions › Category: Python 3 › What is the output of the following code ? from functools import wraps def decorator_func(func): @wraps(func) def wrapper(*args, **kwargs): return func(*args, **kwargs) return wrapper @decorator_func def square(x): return x**2 print(square.__name__)
Back to Top