思路:map函数使一个或者多个序列经过lamda函数映射成新的序列 代码; y = list(map(lambda x: pow(x, 2), range(5))) print(y) 运行结果: [0, 1, 4, 9, 16]