python lambda 表达式的用法. def f(x): return x*x. a = map(f, [1, 2, 3, 4, 5, 6, 7, 8, 9]); print(list(a)). 输出: [1, 4, 9, 16, 25, 36, 49, ...
確定! 回上一頁