Vidyalelo
Python · Q31

Formatting and Decorators

Programming · Python · question 31

Q31

Identify the decorator in the snippet of code shown below. def sf(): pass sf = mk(sf) @f def sf(): return

A.
@f
B.
f
C.
sf()
D.
mk
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board