摘要: ** 高阶函数:接受函数作为参数,or 把函数作为返回结果; eg:map from operator import mul from functools import partial triple = partial(mul, 3) # 使用 mul 创建 triple 函数,把第一个定位参数定为 阅读全文
posted @ 2021-06-15 09:03 小毛编 阅读(52) 评论(0) 推荐(0) 编辑