Hi,
This might be very basic question.
But I am not able to understand how we are passing (3,4)
as argument in sosplusbias because sosplusbias is function of soaplusbias which expects a function
def soaplusbias(f, bias): # sum anything
def h(x, y):
return f(x) + f(y) + bias
return h
sosplusbias = soaplusbias(lambda x: x*x, 5)
sosplusbias(3, 4)
Thanks and Regards,
Subho