單項選擇題

在Python中,如何使用函數(shù)作為參數(shù)?()

A.def func(f):f()
B.func =(function)=>function()
C.func(function:function())
D.function(func)

微信掃碼免費搜題