Question PRG-PY-0020
HardWhat is the output of this program?
def deco(f):
def wrapper():
print('start', end=' ')
print(f(), end=' ')
print('end')
return wrapper
@deco
def ten():
return 10
ten()
- A.
Error
- B.
start end 10
- C.
Sign up free to see the answer and a step-by-step explanation.