python map函数

t = list(map(lambda x:x**2,range(1,11)))
print(t)
原文地址:https://www.cnblogs.com/ssxsy/p/9127505.html