Question from the Python - Fundamentals test

What type is `function_a` in the following code ?

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 1512 times
Edit
6
Community EvaluationsNo one has reviewed this question yet, be the first!