Python 中匿名函数lambda的各种用法 ... filter(lambda x: x % 3 == 0, [1, 2, 3, 4, 5, 6, 7, 8, 9]) > [3, 6, 9] ... map(lambda x: x+1, [1, 2,3]) > ...
確定! 回上一頁