I'm relatively new to python programming, I saw this code snippet in codewarriors. Can somebody please explain this code...
def example(functions):
#my_code
return None
example([a,b,c,d])(input) #What kind of call is this?
Here a,b,c,d are defined functions.
I need to define example
function to return result same as the result of d(c(b(a(input))))
I'm just familiar with example([1,2,3])(1)
Here the passed value is a list. But what if they are functions.
Please also comment any good resources to understand it clearly.