黑馬程序員python教程,8天python從入門到精通,學python看這套就

看不懂P83的來看一下下面的代碼
def myfunc(compute): result = compute(3, 2) print(result) def sum_(x, y): return x + y def multiplication(x, y): return x * y myfunc(sum_) myfunc(multiplication)
標簽:
看不懂P83的來看一下下面的代碼
def myfunc(compute): result = compute(3, 2) print(result) def sum_(x, y): return x + y def multiplication(x, y): return x * y myfunc(sum_) myfunc(multiplication)