Examveda

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: Option D


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators