Python函数可以作为另一个函数的参数吗?
说:
def myfunc(anotherfunc, extraArgs): # run anotherfunc and also pass the values from extraArgs to it pass
所以这基本上是两个问题:
BTW,extraArgs是anotherfunc参数的列表/元组.
python arguments function
arguments ×1
function ×1
python ×1