RosettaCodeData/Task/Higher-order-functions/Python/higher-order-functions-1.py
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

7 lines
102 B
Python

def first(function):
return function()
def second():
return "second"
result = first(second)