Easy
Of which type is function_a
in the following code ?
def function_a(func):
def inner(name):
return func() + name
return inner
@function_a
def greet():
return "Welcome to welovedevs "
print(greet("John"))
Author: ThéoStatus: PublishedQuestion passed 1455 times
Edit
5
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about Python