Hi,

This is may be very basic question.

Here sum_of_squares is function or a variable where

a function is assigned

def soa(f): # sum anything

def h(x, y):

return f(x) + f(y)

return h

sum_of_squares = soa(square)

type(sum_of_squares)

Thanks and Regards,

Subho