>>> aa = map(lambda x: x ** 2, [1, 2, 3, 4, 5])>>> result = []>>> for i in aa: result.append(i)>>> result[1, 4, 9, 16, 25]>>>
map object返回的是个迭代器 for循环打印即可