Python 由字符串函数名得到对应的函数(实例讲解) 把函数作为参数的用法比较直观: def func(a, b): return a + b def test(f, a, b): print f( python编程 2022-04-10 138 点赞 2 评论 209 浏览