#!/usr/bin/env python list = [1,2,3,4,5] squaredList = map(lambda x: x*x, list) print(squaredList). 使用lambda 函數任何地方,都可以使用正常的函數來 ...
確定! 回上一頁