Home > other >  Can you tell me the the decorative function, simple popular understanding, saw some explanation stil
Can you tell me the the decorative function, simple popular understanding, saw some explanation stil

Time:09-28

# decorative function
Def funcA (func) :
Print (" into the decoration program funcA!" )
Def funB (name) :
Print (" funB began to perform ")
Func ()
Return funB

@ funcA
# business function
Def func (name=") :
Print (name + ' 'business program starts executing)

Func (func "program")
  • Related