RosettaCodeData/Task/Higher-order-functions/Python/higher-order-functions-1.py
2023-07-01 13:44:08 -04:00

7 lines
102 B
Python

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