Higher-order functions: Difference between revisions

Content deleted Content added
No edit summary
Adonis (talk | contribs)
Python example
Line 103:
return(reverse(shift));
}
 
==[[Python]]==
[[Category:Python]]
 
'''Interpreter:''' Python 2.5
 
def first(function):
return function()
def second():
return "second"
result = first(second)